私が行ったサイトで突然次のエラーが発生しました。これはこれまで正常に機能しています。
A PHP Error was encountered
Severity: Warning
Message: mktime() [function.mktime]: 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 'Antarctica/Macquarie' for 'EST/10.0/no DST' instead
これは問題のコードです:
$stamp=mktime(0,0,0,$month,$day,$year);
ここでの問題は何ですか?これらのエラーをすばやく解消するにはどうすればよいですか?私はmktime
多くの場所でその形式で使用しており、それぞれの場所でエラーが発生します。