![]() |
Gallery of the day script?
Is there such a thing as a free gallery of the day script and if so please point me in the direction of it!
Thanks in advance! |
That is easy with php, do a search on the board and you'll find plenty.
|
What about in cgi? I am not to familiar with PHP but I guess I could give it a shot if that's what is suggested!
Thanks in advance! |
Quote:
|
Hello Rex,
You could use this perl code: #!/usr/bin/perl ($sec,$min,$hour,$day,$month,$year,$day2) = (localtime(time)); $month++; if ($day < 10) { $day = "0$day"; } if ($month < 10) { $month = "0$month"; } print "Location: $month-$day.html\n\n"; The will redirect the visitor to a page of today, so it's 09-09 (month-day) today, it will then go to: 09-09.html Make sure you have the cgi in the same directory as the .html files or you'll have to edit the print location line above. I just wrote it in a few secs so I didn't test it but since it's such a simple script, it'll work :-P. late. |
can easily be done in java.
Let the pc of the visitor do the work. |
All times are GMT -7. The time now is 09:24 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123