Gallery of the day script?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rex
    Confirmed User
    • May 2002
    • 2241

    #1

    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!
    I don't own RexMag anymore.
  • Naughty
    Confirmed User
    • Jul 2001
    • 6486

    #2
    That is easy with php, do a search on the board and you'll find plenty.
    seks.ai for sale - ping me

    Comment

    • Rex
      Confirmed User
      • May 2002
      • 2241

      #3
      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!
      I don't own RexMag anymore.

      Comment

      • Naughty
        Confirmed User
        • Jul 2001
        • 6486

        #4
        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.
        seks.ai for sale - ping me

        Comment

        • FuqALot
          Confirmed User
          • Dec 2001
          • 3817

          #5
          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.

          Comment

          • grumpy
            Too lazy to set a custom title
            • Jan 2002
            • 9870

            #6
            can easily be done in java.
            Let the pc of the visitor do the work.
            Don't let greediness blur your vision | You gotta let some shit slide
            icq - 441-456-888

            Comment

            Working...