If it is a function that you are getting an error on, just go ahead and put a '@' sign before the function so for example @fopen(); or you can change the error reporting in the php.ini file. I do believe there is an error reporting function also, but off the top of my head I cant remember what it is.
Cheers! Rick "The human mind is not capable of grasping the Universe. We are like a little child entering a huge library. The walls are covered to the ceilings with books in many different tongues. The child knows that someone must have written these books. It does not know who or how. It does not understand the languages in which they are written. But the child notes a definite plan in the arrangement of the books---a mysterious order which it does not comprehend, but only dimly suspects." - Albert Einstein > From: "vernon" <[EMAIL PROTECTED]> > Date: Thu, 5 Dec 2002 16:32:31 -0500 > To: [EMAIL PROTECTED] > Subject: [PHP] Hiding Errors > > Is there a way to have errors in script not output to the screen? I have a > page that creates an error which really isn't a problem and I don't want > users to see the error message. > > Thanks > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php