MySQL/PHP6 bible
Posted: Thu Sep 23, 2010 7:57 am
Hello there,
I've just started out recently, I downloaded a .pdf which was as displayed in the thread title.
Basically, I am following the examples in the guide and find that the examples never seem to work when I manually add them into notepad they seem to do the trick but there is one line in particular my server hates.
This was taken straight from the guide.
The error I am recieving is this:
I've just started out recently, I downloaded a .pdf which was as displayed in the thread title.
Basically, I am following the examples in the guide and find that the examples never seem to work when I manually add them into notepad they seem to do the trick but there is one line in particular my server hates.
Code: Select all
<P>You are visiting our site at <?php echo date(‘Y-m-d H:i:s’);?></P>The error I am recieving is this:
Would be greatly appreciated if someone could shed some light on this, thank you for reading.Warning: Unknown: 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/London' for '1.0/DST' instead in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\index.php on line 13
Parse error: syntax error, unexpected T_STRING in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\index.php on line 13