Re: [PHP] Quick question - Warnings

2003-08-14 Thread CPT John W. Holmes
From: Ryan A [EMAIL PROTECTED]
 I know how to suppress warnings in my file locally but i want to suppress
 warnings and notices in one whole directory using a .htaccess, i cant seem
 to find my old file that does that, can someone refresh my memory please?

 This is how i do it in my local file when i want all ON:
 error_reporting (E_ALL);

 I need to do the opposite by  shuting off all warnings  notices in the
 directory?

php_value error_reporting 0

---John Holmes...


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



[PHP] Quick question - Warnings

2003-08-14 Thread Ryan A
Hi,
I know how to suppress warnings in my file locally but i want to suppress
warnings and notices in one whole directory using a .htaccess, i cant seem
to find my old file that does that, can someone refresh my memory please?

This is how i do it in my local file when i want all ON:
error_reporting (E_ALL);

I need to do the opposite by  shuting off all warnings  notices in the
directory?

Thanks in advance,
-Ryan



We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com



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



Re: [PHP] Quick question - Warnings

2003-08-14 Thread Shena Delian O'Brien
Try using in your PHP page:

error_reporting (E_ALL ^ E_NOTICE);

Ryan A wrote:

Hi John,
Thanks for replying, I already tried that and thought i might be mistaken
because i am still getting stuff like this:
Notice: Undefined index: facility24 in
/home/bestweb/public_html/add_co_location.php on line 12
Plenty of notices
I tried:
php_value error_reporting 0 (and)
php_value error_reporting 0;
but am still getting those damn notices
any other ideas?
Thanks,
-Ryan
We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com



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