Re: Configuring the error suppression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



IG wrote:
John Meyer wrote:
Is there anyway to make PHP normally suppress errors, but a piece of code that would show errors on a particular page?


Sorry forgot to mention how you show errors on a particular page- you would use-
ini_set('display_errors', '1');

But are you sure you want to do this? Showing errors to your users is NOT a good idea as it can open your server up to all kinds of security issues. Why not use the log parser idea that I said in my last mail?


I didn't get that last e-mail, and I'm on a design web server, not an actual production server.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux