Random page rotation script in PHP
Posted: Mon Dec 21, 2009 2:30 pm
Random page rotation script in PHP
Code: Select all
$pages = array('page1.php', 'page2.php', 'dir/page3.php');
header('Location: ' . array_rand($pages));