04-01-2008, 04:44 PM
|
|
|
Unregistered Abuser
Industry Role:
Join Date: Oct 2007
Posts: 15,547
|
Quote:
Originally Posted by over38
This should work:
Save this as galleries.php (or whatever you want to call it)
<?$f = file('galleries.txt');srand((double)microtime()*10 00000);$num = rand(0,count($f)-1);$url = $f[$num];header("Location: $url");?>
Put all your gallery urls in a txt file, name it galleries.txt
Link to the galleries.php file
|
thanks 
|
|
|