By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

I need daily random photo for year

deephill
P: 37
Hi
anybody tell me how to make a daily random photo for 365/366 days i.e per year.

example: jan 01-image01, jan 02-image02, jan 03-image03, jan 04-image04.....
dec 30-image364, dec 31-image365 etc.
Oct 11 '08 #1
Share this Question
Share on Google+
2 Replies


dlite922
Expert 100+
P: 1,584
First off you'll need ATLEAST 365 pictures or more.

Second, why do you care if a picture doesn't repeat after a year? Who's going to remember a picture from October 2007?
Oct 12 '08 #2

pbmods
Expert 5K+
P: 5,821
Heya, Deephill.

Check out PHP's date() function (http://php.net/date).
Oct 12 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.