"Digital Puer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

> 2. About error reporting, I've found that the default error reporting
> level doesn't report undefined variables (these are occuring, for
> example, when I misspell a variable name). If I set error_reporting
> in php.ini to be E_ALL, undefined variables will be reported, but I
> also get a lot of undefined variable errors in HTTP_POST_VARS and the
like.
> Surely that has to be a happy medium?
>
> Thank you for any help.

Try this:

error_reporting(E_ALL & ~E_NOTICE);

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

Reply via email to