View Single Post
Old 03-24-2003, 08:27 PM  
Snake Doctor
I'm Lenny2 Bitch
 
Snake Doctor's Avatar
 
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
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_rand0sizeof($a)-);
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?
__________________
sig too big
Snake Doctor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote