Simon McManus

Javascript Engineer

Enable PHP error reporting for a page.

This code is really handy although not that easy to find on google. It lets you enable errors on a php page without having to mess around in the php.ini file.
error_reporting("E_ALL");
ini_set("display_errors", "1");

September 15th 2007