php时间出错

来源:百度知道 编辑:UC知道 时间:2024/05/29 20:21:47
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 'UTC' for '8.0/no DST' instead in C:\xampplite\htdocs\NewPhpProject\upload_file.php on line 10
Stored in: upload/abc.jpg
这段错误说什么啊?要怎么做啊

警告:日期()[function.date]:这是不安全的依赖系统的时区设置。您是*需要*使用date.timezone设置或 date_default_timezone_set()函数。如果您使用了这些方法的任何和您仍然收到此警告,您最有可能的拼写错误时区标识符。我们选择'星期四'的'8 .0/no的DST',而不是在C:\ xampplite在线10 \ htdocs \ NewPhpProject \ upload_file.php
存储在:上传/ abc.jpg