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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-30-2002, 06:50 AM   #1
Royaltee_Gee
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.
Royaltee_Gee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-30-2002, 06:51 AM   #2
hyper
Confirmed User
 
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
i saw it yesterday
but forgot where
__________________
hyper is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-30-2002, 07:15 AM   #3
mrthumbs
salad tossing sig guy
 
mrthumbs's Avatar
 
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
This is what you need

Last edited by mrthumbs; 07-30-2002 at 07:17 AM..
mrthumbs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-30-2002, 08:14 AM   #4
Captain Canada
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
Captain Canada is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-30-2002, 08:15 AM   #5
Captain Canada
Confirmed User
 
Join Date: Jun 2002
Posts: 469
Check the quote for the above post to get the file
Captain Canada is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.