Posts

Showing posts from November, 2009

PHP date.timezone warning fix

OK, Have you gotten this (or similar): PHP Warning: PHP Startup: 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 '-8.0/no DST' instead in Unknown on line 0 I am running PHP 5.3.0 on my Windows XP, and have spent the better part of the day to try to get rid of this warning and finally managed to do it. How, you say? The breakthrough came after I have read this instructions from the PHP web site Changes in PHP datetime support . Here is part of it: Since PHP 5.1.0, there has been an extension named date in the PHP core. This is the new implementation of PHP’s datetime support. Although it will attempt to guess your system’s timezone setting, you should set the timezone manually. You can do thi

Say Hello to the Newest Kindle

Image
Amazon came out with a new smaller 6″ diagonal Kindle. It goes for $259 and has international wireless coverage. Check it out at Amazon.com .