Due
06-03-2001, 01:50 PM
Just started using TGSW again and would like to rotate my sponsors so 1 day I post galleries with sponsor1, the next day sponsor2, then sponsor3 and then it start over with sponsor1 again or continues to sponsor4,5,6 etc.
But TGSW do not have a sponsor "rotator"
so what I'm looking for is a small perl script that each day will copy /path/templateAUTO.html_sponsor1 to /path/to/tgsw/templateAUTO.html
next day it will take
copy /path/templateAUTO.html_sponsor2 to /path/to/tgsw/templateAUTO.html
etc untill I got no more _sponsor files defined in the script and then it should start over again from the sponsor1.
Anyone that can write such a script?
/Due
ICQ # 7694991
P.S. don't tell me TGSW sux. I think it rocks http://bbs.adultwebmasterinfo.com/ubb/tongue.gif
But TGSW do not have a sponsor "rotator"
so what I'm looking for is a small perl script that each day will copy /path/templateAUTO.html_sponsor1 to /path/to/tgsw/templateAUTO.html
next day it will take
copy /path/templateAUTO.html_sponsor2 to /path/to/tgsw/templateAUTO.html
etc untill I got no more _sponsor files defined in the script and then it should start over again from the sponsor1.
Anyone that can write such a script?
/Due
ICQ # 7694991
P.S. don't tell me TGSW sux. I think it rocks http://bbs.adultwebmasterinfo.com/ubb/tongue.gif