讓php不用透過php.ini來檢視錯誤

[cc lang=”php”]ini_set(“display_errors”, “On”);
error_reporting(E_ALL | ~E_WARNING| ~E_NOTICE);[/cc]

此法適用php5

Related Posts Plugin for WordPress, Blogger...

Leave a Reply