IIS6 error page for PHP errors?

From: Date: Mon, 30 Jan 2006 18:19:00 +0000
Subject: IIS6 error page for PHP errors?
Groups: php.windows 
Request: Send a blank email to php-windows+get-26668@lists.php.net to get a copy of this message
has anyone figured out if there is a way to have IIS's custom error pages work for PHP? i have custom error handling code that is fine for non-fatal errors. but the only workaround i have found for handling fatal errors involves turning off buffereing, which i don't want to do. the way i can handle fatal errors is to first thing on every page send a Location header that redirects to the error page, and if i get a fatal error it goes to the error page. if i finish the page normally, the last bit of code i have resets the Location header. this necessitates turning off buffering, obviously. anyone have a better way of handling this? all i want is to redirect to a clean error page if there is a fatal error. --travis

Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
« previous php.windows (#26668) next »