jonniejoejonson Posted August 28, 2010 Share Posted August 28, 2010 I don't want a user to see any php errors that may occur from them messing around with the url... the following does this fine... error_reporting(0); However is there a way for me to detect if an error was detected and then if it was then i can print my own error page?... basically i need a function to detect if an error was recieved.. regards J. Quote Link to comment https://forums.phpfreaks.com/topic/211933-php-error/ Share on other sites More sharing options...
trq Posted August 28, 2010 Share Posted August 28, 2010 set_error_handler Quote Link to comment https://forums.phpfreaks.com/topic/211933-php-error/#findComment-1104554 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.