potd script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TommyM
    Confirmed User
    • May 2001
    • 1147

    #1

    potd script

    anybody knows where to find a picture of the day script?

    Thanks
  • hmmwv
    Confirmed User
    • Apr 2002
    • 293

    #2
    schlabo.com

    Comment

    • Global Dialers
      Confirmed User
      • May 2004
      • 1349

      #3
      .php

      its easy enough to do.

      create a directory on your server containing 365 pics named 001.jpg to 365.jpg

      create a html page with .php extension with the look of how you want the potd to have.

      include this in the appropriate place in the html code

      PHP Code:
      <?include("directory/0".date("z").".jpg");?>
      thatll update the page with a new pic every day of the year
      the hun gets revenue from pre-paid gallery placements on the top 15 spaces and banners.
      the rest of thegalleries are free placements.

      Comment

      • TommyM
        Confirmed User
        • May 2001
        • 1147

        #4
        Originally posted by Global Dialers
        .php

        its easy enough to do.

        create a directory on your server containing 365 pics named 001.jpg to 365.jpg

        create a html page with .php extension with the look of how you want the potd to have.

        include this in the appropriate place in the html code

        PHP Code:
        <?include("directory/0".date("z").".jpg");?>
        thatll update the page with a new pic every day of the year
        Thanks...is that all I have to do, just place that code? dont I have to change anything, so it would know what date is it or something?

        Comment

        Working...