I got to try my 1st php script today.php
This is what i wrote in the txt file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<p>Today’s date (according to this web server) is
echo date('l, F dS Y.');
And thats the result on my browser under http://localhost/today.php :
Today’s date (according to this web server) is
Warning: date() [function.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 'Europe/Helsinki' for '2.0/no DST' instead in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\ oday.php on line 12
Wednesday, February 23rd 2011.
Any ideas why i got this Warning message?
Thanks in advance.