GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Gallery of the day script? (https://gfy.com/showthread.php?t=76167)

Rex 09-09-2002 06:46 AM

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!

Naughty 09-09-2002 07:03 AM

That is easy with php, do a search on the board and you'll find plenty.

Rex 09-09-2002 08:30 AM

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!

Naughty 09-09-2002 08:34 AM

Quote:

Originally posted by Rex
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!

It really is only a few lines of code, if you do a search on this board, you'll find examples of code posted before.

FuqALot 09-09-2002 08:44 AM

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.

grumpy 09-09-2002 10:33 AM

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