php help, please....

Gary Kline kline at
Sat Jun 12 17:26:46 UTC 2010

a few days ago i got my webserver working.. late last night i
found the following error on my page:

Warning: date() []: It is not safe to rely on the
system's timezone settings. You are *required* to use the
date.timezone setting or the date_default_timezone_set()
function. In case you used any of those methods and you are
still getting this warning, you most likely misspelled the
timezone identifier. We selected 'America/Los_Angeles' for
'PDT/-7.0/DST' instead in
/usr/local/www/apache22/data/randmeditations.php on line 6

  as an example of my use of "date() is

  $hour = date("H");

can anybody 'splain what suddenly went wrong with my two-year-old 
php script?


ps: FWIW: I am pulling this part from my home page today.  i
figure every 18-30 months pages need updating.  but would shore
like to know wha' happened.... 

 Gary Kline  kline at  Public Service Unix
    The 7.83a release of Jottings:
   99 44/100% Guaranteed Novel

More information about the freebsd-questions mailing list