Hey,
For some while now I've been having this problem with a site we host. In the 'error_log' for the site I've fount MANY (as in several GB logs) PHP notices that look something like:
Code:
[Tue Mar 18 11:58:25 2008] [error] [client some.ip.here] PHP Notice: Undefined index: check_3 in /var/www/vhosts/mydomain/httpdocs/somefile.php on line 150, referer: http://referer/url
there are also other notices, like:
Code:
PHP Notice: Undefined variable:
PHP Notice: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' in
PHP Notice: Use of undefined constant ppp - assumed 'ppp' in
The code works fine and I don't understand why it gives this notices. Is there any way to silence PHP and don't show this errors? The problem is that they created around 8GB of logs in just a week.
Thanks.