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. 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 Link to comment https://forums.phpfreaks.com/topic/211933-php-error/#findComment-1104554 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.