> How do I trap a PHP error and display my own error message instead?
>
> I have two PHP scripts - one that creates tables on MSSQL and one that
> deletes tables on MSSQL. I wish to capture the message that appears if
> the user attempts to create tables that already exist, or delete ones
> that d
On Wed, 15 Jan 2003 13:25:05 +0900, you wrote:
>If it's not asking too much would you be willing to share that custome
>error handler you wrote?
It's a big long so I'm sending it to you off-list. If anyone else is
interested just send me an email off list and I'll send you a copy...
--
PHP Gen
Michael Sims wrote:
My site has a custom error handler (implemented via set_error_handler)
which sends a nicely formatted email including all of the error
details, a variable dump, the contents of the output buffer before the
error occured, and the contents of a call to debug_backtrace, in
additi
On Tue, 14 Jan 2003 23:38:11 +0100, you wrote:
>Hi all,
>
>is there a way to execute a custom function as soon as an error happens in
>PHP? I looked at the set_error_handler function, but it doesn't seem to trap
>all the errors. What I want to achieve is to execute a function that mails
>me the er
4 matches
Mail list logo