Re: [PHP] error message handling

2001-01-17 Thread Alex Black
> You probably want to suppress the error message with an @ symbol. Try > putting an "@" before the function calls that give you errors. you want to avoid doing that, I recommend properly handling the error. > $x = @php_function_here(); > ?> > > This suppresses the error function. Many funct

RE: [PHP] error message handling

2001-01-17 Thread Benjamin Munoz
ROTECTED]] Sent: Wednesday, January 17, 2001 10:23 AM To: [EMAIL PROTECTED] Subject: [PHP] error message handling I tried to send this before, so if I did, forgive me, but I don't think it worked last time .:) I'm trying to find a way to handle errors by number. For example, if I

[PHP] error message handling

2001-01-17 Thread Jason Jacobs
I tried to send this before, so if I did, forgive me, but I don't think it worked last time .:) I'm trying to find a way to handle errors by number. For example, if I get a "directory already exists" error, I want to know what the number that is so I can check the return value on the function th