View Single Post
Old 02-27-2002, 06:50 PM  
blunt
Registered User
 
Join Date: Aug 2001
Posts: 96
yeah, i deleted it by accident when i went to edit it

PHP Code:
<?PHP

$filName 
"./galleries.txt";

$arry file($filName);
$randNum rand(0,sizeof($arry)-1);

header("Location: "$arry[$randNum]);

?>
it works fine.
put your links in a text file 1 per line, name it galleies.txt .
save the above as whatever.php , put them in the same folder.

no probs, enjoy
blunt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote