>> Set your php.ini file and error reporting as such:
>>
>> error_reporting  =  E_ALL & ~E_NOTICE

>Or initialize your variables before using them ...  especially true if
>register_globals is on.

Yeah, that's the best recommendation. Especially if you plan on distributing
your code for others to use, where you have no idea of the error setting on
their machines. Sure, you can set it with error_reporting() in your script,
but maybe they don't want it changed, regardless if it's just for your
script.

---John Holmes..


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

Reply via email to