Sono nuovo con PHP, i miei complimenti a tutti per HTML.IT veramente un punto formidabile dove è possibile trovare molto sui linguaggi.
Qunado cerco di eseguire il codice sotto elencato, da premettere che uso in valutazione di utilizzo phpdesigner 7,
<?php
$mydata=getdate();
$giorno=mydata['mday'];
$mese=mydata['mon'];
$anno=mydata['year'];
echo "oggi è il giorno $giorno mese $mese anno $anno";
?>
e mi appare il seguente messaggio:
Warning: getdate() [function.getdate]: 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/Paris' for '2.0/DST' instead in C:\Programmi\Apache Software Foundation\Apache2.2\htdocs\EsempiLibro\esempio2.8 .php on line 3 PHP Stack trace: PHP 1. {main}() C:\Programmi\Apache Software Foundation\Apache2.2\htdocs\EsempiLibro\esempio2.8 .php:0 PHP 2. getdate() C:\Programmi\Apache Software Foundation\Apache2.2\htdocs\EsempiLibro\esempio2.8 .php:3 .