In light of the successful modifying (due to advice received on this forum) of a perl script to reflect local time I decided to revisit a php link tracking script that I use.
Some time ago the author of the script advised me to modify the line below to adjust for Victoria being 10 hours ahead of GMT. I changed the line in all 4 places that it appeared in the 2 files but unfortunately the mod had no effect and the author's website has now disappeared. I have tried a number of variations but nothing works. I am hoping that he made an error that will be obvious to someone with more php knowledge than I have.
$today=(int)(time()/86400); (original line)
$today=(int)((time()+10*3600)/86400); (line moded by author)
Some time ago the author of the script advised me to modify the line below to adjust for Victoria being 10 hours ahead of GMT. I changed the line in all 4 places that it appeared in the 2 files but unfortunately the mod had no effect and the author's website has now disappeared. I have tried a number of variations but nothing works. I am hoping that he made an error that will be obvious to someone with more php knowledge than I have.
$today=(int)(time()/86400); (original line)
$today=(int)((time()+10*3600)/86400); (line moded by author)
Last edited: