Error Page, How can i make one
Moderator: General Moderators
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
Error Page, How can i make one
Is this possible:
A user is browsing my site, and then they come to a page that has errors on it, PHP see's that there is errors and then redirects them to another page that says we are expecing errors please try again later.
A user is browsing my site, and then they come to a page that has errors on it, PHP see's that there is errors and then redirects them to another page that says we are expecing errors please try again later.
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Are you referring to PHP script errors? Like "call to undefined function foo() on line 26" ?
In PHP5 exception handling can do that for you.
In PHP5 exception handling can do that for you.
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
set_error_handler() is your friend 