dear robert,

use php.ini-dist and not php.ini-recommended, then you have backwards
compatiblity, but this disables some of the good and new features....

But if you want to use your current setup, add simply following code for
each required but not defined variable:

if (!isset($yourvariable)) {
  $yourvariable = "";
}

alternately you could also call the script with:

scriptname.php3?yourvariable=value

Then the variable is defined and no error messages occur
  
regards
Christoph

-----Original Message-----
From: Robert Abbate [mailto:[EMAIL PROTECTED]]
Sent: 16. ledna 2002 4:04
To: [EMAIL PROTECTED]
Subject: [PHP-INST] PHP & Windows problems: "Warning: Undefined
variables..." 


What's up with the Windows versions for PHP? They keep saying that all
variables must be defined instead of allowing them to be defined when
necessary. Is there a way to disable this warning in Windows setup?

Thanks
Robert A,.



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to