![]() |
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. |
you're looking for free advice or offering payment for a script
|
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 |
bump
|
Simple. Gimme two minutes I'll have a PHP script for you.
|
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:
SAMPLE URLS.PHP FILE -------------------------------------- PHP Code:
|
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 |
no thanks? :Graucho
|
hey,
thanks a lot man. I will try see if i can get that going. Cheers for the help :) |
All times are GMT -7. The time now is 08:54 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123