View Single Post
Old 09-17-2001, 05:08 PM  
altasexa
Registered User
 
Join Date: Jul 2001
Location: Australia
Posts: 19
Here's one in PHP for ya -

Code:
<?
  $tgp = file($type . '.txt');
  srand((double)microtime() * 1000000); 
  header('Location: ' . $tgp[rand(0,count($tgp)-1)]);
?>
1) Save the file as tgp.php
2) Create text files containing URL's (one URL per line) and save it as type.txt i.e. for Teens, you would use teens.txt
3) To run the script - tgp.php?type=teens

Enjoy...
Dave
altasexa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote