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
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
I'm not too familiar with this method, but trying putting the @ symbol
in front of the statement.
ex:
$file = @fopen(.);
Hope this helps.
--Joseph Guhlin
http://www.josephguhlin.com/
Web Programmer / Unix Consultant / PHP Programmer
--
PHP General Mailing List (http://www.php.net/)
On Thu, 2002-12-05 at 14:32, vernon wrote:
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.
You can also use set_error_handler to deal with errors however you
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.
If this is a production machine, you should have display.errors OFF in
php.ini
---John Holmes...
--
PHP
5 matches
Mail list logo