Never been to TextSnippets before?

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!)

About this user

Dean Allen http://textdrive.com

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

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:

ini_set("display_errors","1");
ERROR_REPORTING(E_ALL);

And fer pete's sake remember to remove it afterwards.
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed