|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Jul 2001
Posts: 973
|
Can't find a simple code..
Ok im looking for a simple code....
Ok it's a code you place in an html file and it forwards to a different url everytime.. and the urls i define in the code. so if someone goes to http://www.domain.com/test/ they'll get a different url each time, which just cycles through the list of urls I define.. So I could have like 10 different urls it goes to, so the 1st time they get URLA , 2nd Time URLB, etc... etc.. I know this is a simple code.. but having trouble finding it on the net. thanks i advance guys. |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
|
i saw it yesterday
but forgot where |
|
|
|
|
|
#3 |
|
salad tossing sig guy
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
|
|
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Jun 2002
Posts: 469
|
<?$f = file('your_list.txt');srand((double)microtime()*10 00000);$num = rand(0,count($f)-1);$url = $f[$num];header("Location: $url");?>
Save as php file example list.php Put each url in a text file - one url per line - call it something like your_list - save as .txt file Your url would look like http://www.your_domain.com/list.php |
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Jun 2002
Posts: 469
|
Check the quote for the above post to get the file
|
|
|
|