Quote:
Originally posted by hyper
copy this to a txt file and rename gallery.php
PHP Code:
<?php
$fileName = "./gallerylist.txt";
mt_srand( (double) microtime() * 1000000 );
$a = file($fileName);
$randNum = mt_rand( 0, sizeof($a)-1 );
header( "Location: ". $a[$randNum] );
?>
now make a gallerylist.txt file and put 1 gallery url per line
now point your link to http://www.url.com/gallery.php
have a nice fucking day
|
Hey thanks chief.
I'm guessing I can use this over and over again like somurl/teen.php, someurl/tits.php etc etc as long as I change the name of the text file?