it has to do with declaring all php variables before using them in the
script.
$var='';
then do something with the variable.
Jim
- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 9:52 AM
Subject: [PHP] W
>> 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 u
> -Original Message-
> From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 15, 2003 1:00 PM
> To: Beauford.2002; PHP General
> Subject: Re: [PHP] Windows PHP vs Linux PHP
>
>
> Set your php.ini file and error reporting as such:
>
Set your php.ini file and error reporting as such:
error_reporting = E_ALL & ~E_NOTICE
See if that helps with the undefined notice.
jeff
- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 12:52 PM
Subje
4 matches
Mail list logo