Print PHP errors to screen
We keep error reporting off for safety reasons, but if you're baffled as to why something's not working, you can temporarily view errors by popping this into your script:
And fer pete's sake remember to remove it afterwards.
ini_set("display_errors","1"); ERROR_REPORTING(E_ALL);
And fer pete's sake remember to remove it afterwards.