On 4/25/07, Brian E Boothe <[EMAIL PROTECTED]> wrote:
> yipppieee look what i have on another PHP Code im trying to run and
>  debug :
>
>  *Notice*: Undefined variable: _SESSION in
>  *C:\Inetpub\wwwroot\fundanemt\install\index.php* on line *81*

Err... By default, PHP doesn't output any notices. Perhaps you should
check your error reporting level?
At my projects, I normally leave Notices enabled, so that I can see
parts of the code that could result in potential problems. However, I
use an error handling function that saves the errors elsewhere (mail,
jabber, textfile, sql, etc) instead of printing errors on the browser.
Although most scripts run fine with loads of Notices, I aggree that
good code should not produce them.
If you simply don't want to see the errors, error_reporting() (or
php.ini) will help you. If you are trying to debug and get rid of the
notices instead of just hiding them, then you'll need to follow the
code and fix them one after another.

-- 
Bruno Lustosa <[EMAIL PROTECTED]>
ZCE - Zend Certified Engineer - PHP!
http://www.lustosa.net/

Reply via email to