Reply to Re: [PHP] Error checking

Your name:

Reply:


Posted by Janet Valade on 05/23/05 21:16

Michael Satterwhite wrote:

> Philip Hallstrom wrote:
>
>>> I'm using Apache and PHP4 under debian.
>>>
>>> in /etc/php4/apache, I have the setting
>>> error_reporting = E_ALL & ~E_NOTICE
>>>
>>> but I don't get any errors - even when I've clearly used an undefined
>>> variable. What else might need to be set to get PHP to report errors
>>> for me?
>>

You won't see the notice for an undefined variable with this setting.
You have notices turned off. You will only see warnings and fatal
errors. If you want to see notices, you need to use the following setting:

error_reporting = E_ALL

Janet



--
Janet Valade -- janet.valade.com
--
Janet Valade -- janet.valade.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация