Sunny灬阳

导航

2014年11月7日 #

Notice: Use of undefined constant out - assumed 'out' in D:wampwwwdaoruindex.php on line 4解决办法

摘要: 这些是 PHP 的提示而非报错,PHP 本身不需要事先声明变量即可直接使用,但是对未声明变量会有提示。一般作为正式的网站会把提示关掉的,甚至连错误信息也被关掉 解决办法: 1.在开头加上error_reporting(E_ALL & ~E_NOTICE); 这句话表示提示除去 E_NOTICE 之外... 阅读全文

posted @ 2014-11-07 17:17 Sunny灬阳 阅读(149) 评论(0) 推荐(0)