News   GLOBAL  |  Apr 02, 2020
 9.1K     0 
News   GLOBAL  |  Apr 01, 2020
 40K     0 
News   GLOBAL  |  Apr 01, 2020
 5.2K     0 

gei

Active Member
Member Bio
Joined
Apr 24, 2007
Messages
821
Reaction score
13
The address to the pic of the day image is:

http://www.urbantoronto.ca/picoftheday/picoftheday.jpg?<? echo rand(1,3000); ?>

I'm guessing the random number is there to make sure that browsers don't show a cached image instead of the current pic of the day.

Only problem is that you must have some escaping problem or something because the image link is literally to that piece of code, instead of a randomly generated number.

And of course, this is causing some browsers (ie my one at work) to show a previously cached image instead of the new one.
 

Back
Top