ini_set("display_errors","1"); ERROR_REPORTING(E_ALL);
And fer pete's sake remember to remove it afterwards.
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
ini_set("display_errors","1"); ERROR_REPORTING(E_ALL);
You need to create an account or log in to post comments to this site.
» Suexec'ed PHP-FastCGI on Apa... in apache php fastcgi suexec
» My lighttpd php-fastcgi conf... in php fastcgi lighttpd
» Minimal extension-less build... in php fastcgi cgi
» Mod_PHP that co-exists with ... in php mod_php php-cli
» Example lighttpd config for ... in php lighttpd rails examples filenice
» Viewing php configuration se... in php
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails
And as the previous poster said switch it off again when going production (and do it explicitly please)