我的 PHP 知识有限,我正在尝试在我的网站中实现http://www.tutorialchip.com/php-download-file-script/这个脚本。我在这里http://brooksmemories.com/test/上推了他们的文件不变。如果单击文件,我会收到以下错误
Strict Standards: main() [function.main]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/inspire/public_html/brooksmemories.com/test/download.php on line 16
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /home/inspire/public_html/brooksmemories.com/test/download.php on line 16
我不确定如何纠正这些错误以使其正常工作。任何帮助将不胜感激。谢谢你。