steviez Posted October 26, 2008 Share Posted October 26, 2008 Hi, Im not sure if this is possable but if it is can someone please point me in the right direction. I am wanting to create my own error pages so that if a php error occurs then it shows my error page and error info and no the php generated one. Thanks Link to comment https://forums.phpfreaks.com/topic/130187-error-manage/ Share on other sites More sharing options...
Orio Posted October 26, 2008 Share Posted October 26, 2008 If you're using Apache, that's done through the htaccess: http://www.google.coml/search?q=htaccess+custom+error Orio. Link to comment https://forums.phpfreaks.com/topic/130187-error-manage/#findComment-675125 Share on other sites More sharing options...
Jeremysr Posted October 26, 2008 Share Posted October 26, 2008 Take a look at the set_error_handler() function. It allows you to specify a function you've created to handle PHP errors. Link to comment https://forums.phpfreaks.com/topic/130187-error-manage/#findComment-675126 Share on other sites More sharing options...
Orio Posted October 26, 2008 Share Posted October 26, 2008 Take a look at the set_error_handler() function. It allows you to specify a function you've created to handle PHP errors. Woops I've misread the post. Please ignore it. Orio. Link to comment https://forums.phpfreaks.com/topic/130187-error-manage/#findComment-675132 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.