Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-14-2004, 06:27 AM   #1
TommyM
Confirmed User
 
Industry Role:
Join Date: May 2001
Location: Denmark
Posts: 1,147
potd script

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

Thanks
TommyM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-14-2004, 09:18 AM   #2
hmmwv
Confirmed User
 
Join Date: Apr 2002
Posts: 293
schlabo.com
hmmwv is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-14-2004, 09:51 AM   #3
Global Dialers
Confirmed User
 
Join Date: May 2004
Location: Spain
Posts: 1,349
.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
Global Dialers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-14-2004, 01:09 PM   #4
TommyM
Confirmed User
 
Industry Role:
Join Date: May 2001
Location: Denmark
Posts: 1,147
Quote:
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?
TommyM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.