RE: [PHP-INST] PHP & Windows problems: "Warning: Undefined variab les..."

From: Date: Wed, 16 Jan 2002 08:59:56 +0000
Subject: RE: [PHP-INST] PHP & Windows problems: "Warning: Undefined variab les..."
Groups: php.install 
Request: Send a blank email to php-install+get-5593@lists.php.net to get a copy of this message
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:accounts@ispconcepts.com] Sent: 16. ledna 2002 4:04 To: php-install@lists.php.net 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: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.install (#5593) next »