Forum Moderators: coopster

Message Too Old, No Replies

Different PHP error messages?

         

Richie0x

11:07 pm on Jun 30, 2004 (gmt 0)

10+ Year Member



Is there a different way to display PHP error messages. Like when your script has an error, it displays an error on the webpage with the script location and the line number. Is it possible to display a different error? Or not error at all?

jatar_k

11:11 pm on Jun 30, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



you can set the error level with error_reporting [ca2.php.net] as far as changing them I am not sure.

Birdman

11:12 pm on Jun 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check out the error_reporting [php.net]() function.

I'm slow today ;)

Also, there is the @ error operator [php.net].