Code: Select all
$pages = array('page1.php', 'page2.php', 'dir/page3.php');
header('Location: ' . array_rand($pages));
Post by Neo » Mon Dec 21, 2009 2:30 pm
Code: Select all
$pages = array('page1.php', 'page2.php', 'dir/page3.php');
header('Location: ' . array_rand($pages));