"Seb Frost" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Could someone give me an example of the sort of error handling you put in
> your php scripts? Cheers. Should I be preceding every command with @?
> Anything where this would be harmful? Just looking for some pointers
In general, stuff that (a) might fail in normal
use and (b) prints an unwanted error message.
This usually deals with calls to external
programs, stuff that sometimes be down.
In my case, this is pretty much restricted to
mail() and the mysql_xx functions.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]