![]() |
script that rotates a linked text daily?
Anybody have one that I could have?
ICQ: 102707188 Email: webmaster at xxxpaysitedesign.com |
One that displays a new link everytime the surfer views the page would be fine too.. from a list in a txt file or something..
|
I was going to recommend "TERND" on the page below, but their site seems to be broken
http://php.resourceindex.com/Complet...s/Random_Text/ |
Why don't you use the same javascript that the hun and worldsex use and just do it with textlinks instead of banners? Works really well.
Edit: And all the work is done client side, so it reduces load on your server. |
If you use javascript and they have it turned off, which seems to be more and more folks these days, then you lose out :( Do you have php on your server ?? If so then you could easily put this at the top of your page.
put php start tag here $day = date(D); put php end tag here where ever you want the link to appear in your page put this put php start tag here insert "$day"; put php end tag here and then you need to create the files for each day of the week, and put the actual html for the links in there :) Mon Tue Wed Thu Fri Sat Sun ** note caps !!! You can do the same thing by the actual date i.e. 01 02 03 04 05 and so on, and have a diff link for all 31 days if you'd like by changing out the $day = date(D); with $day = date(d); Then all you have to remember to do is to turn php parsing on for all htm and html files by putting this in your .htaccess AddType application/x-httpd-php html AddType application/x-httpd-php htm email me at webmaster if you have any trouble and I'll try to help you out. Tim :Graucho |
I have php but the problem is I'm running TM3 cgi, which won't allow me to name my index anything but index.html
I know I could do a bunch of iframes but that just gets too messy. |
You don't have to rename anything :) You can parse your html files by putting this in your .htaccess
AddType application/x-httpd-php html AddType application/x-httpd-php htm |
| All times are GMT -7. The time now is 10:36 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123