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 11-08-2004, 10:55 AM   #1
longdongsilver
Confirmed User
 
Join Date: Aug 2003
Posts: 378
coders how can i do this...

hi coders...

been trying to find a script that does this but can't find one.

I want a static link on my webpage that sends the surfer to a different page each day or at a certain timed interval.

I was hoping i could have a simple text file with say 50 urls on it, and then have a cgi script redirect the surfer to these urls i've listed. This will be like 50 updates so no work for 50days.

I've found a cgi script that can send the surfer randomly to these urls i have on the text file but i want one that can do them in order and at timed intervals. It would be better i think if it read the timed intervals from the server not the surfers browser or machine incase they just put the date forward locally.

Is there such a script in php or cgi ?

hope i described it ok.

thanks for any help.
longdongsilver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-08-2004, 11:00 AM   #2
69pornlinks
Confirmed User
 
Join Date: Mar 2003
Location: Heranus
Posts: 5,560
you're looking for free advice or offering payment for a script
__________________
It IS what it IS
69pornlinks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-08-2004, 11:05 AM   #3
longdongsilver
Confirmed User
 
Join Date: Aug 2003
Posts: 378
i was hoping that someone knew where there was a free script that could do this. But if there is not, then if you know where there is script that does this that has to be purchased then i'd be interested in that also.

thanks for the reply
longdongsilver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-08-2004, 02:08 PM   #4
longdongsilver
Confirmed User
 
Join Date: Aug 2003
Posts: 378
bump
longdongsilver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-08-2004, 02:09 PM   #5
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Simple. Gimme two minutes I'll have a PHP script for you.
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-08-2004, 02:16 PM   #6
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Start numbering around 312 or so, that's the day of the year for today's date. 312 corresponds to Nov 8, 313 Nov 9, 314 Nov 10, etc. etc. until 0 again at Jan 1.

PHP SCRIPT
------------------------

PHP Code:
<?PHP
$lines 
file("urls.php");
$year date("z");
// Loop through our array, find the corresponding URL
foreach ($lines as $line) {
   
$arr split("\|"$line);
   if ((
$arr[0]) hahahaha $year) {
   
header("Location: ".$arr[1]);
   exit;
}
}
?>

SAMPLE URLS.PHP FILE
--------------------------------------
PHP Code:
312|[url]link.com[/url]
313|[url]link.com[/url]
314|[url]link.com[/url]
315|[url]link.com[/url]
316|[url]link.com[/url
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!

Last edited by Dynamix; 11-08-2004 at 02:17 PM..
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-08-2004, 02:18 PM   #7
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Blah, can't get the link file to display correctly. Take out the HREF code so it reads:

312|blah link 1
313|blah link 2
314|blah link 3
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-08-2004, 02:37 PM   #8
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
no thanks?
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-09-2004, 10:13 AM   #9
longdongsilver
Confirmed User
 
Join Date: Aug 2003
Posts: 378
hey,

thanks a lot man. I will try see if i can get that going.

Cheers for the help
longdongsilver 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.