I guess the best solution would be to fix the error that the system is reporting... you're using a constance that is not defined. Now, this could mean that (a) you really meant to define a constant and you forgot (or didn't include the right file) or (b) you typed the name of a variable without the leading $ sign.
Marco ------------- php|architect -- The Monthly Magazine For PHP Professionals Come visit us on the web at http://www.phparch.com! On Thu, 2002-11-07 at 17:23, R B wrote: > When i set display_errors = On and error_reporting = E_ALL in my php.ini, > i get the next message for each variable that i use in the script: > "Notice: Use of undefined constant varname ....." > > How is the best solution for this problem, setting error_reporting = E_ALL > & ~E_NOTICE or other method? > > Thanks, > > RB > > > > > _________________________________________________________________ > Charla con tus amigos en línea mediante MSN Messenger: > http://messenger.microsoft.com/es > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php