PHP 4.0 Bug #10128 Updated: Undefined Variables

From: Date: Tue, 03 Apr 2001 15:13:27 +0000
Subject: PHP 4.0 Bug #10128 Updated: Undefined Variables
Groups: php.dev 
Request: Send a blank email to php-dev+get-50698@lists.php.net to get a copy of this message
ID: 10128 Updated by: cynic Reported By: gabriel_kwok@yahoo.com Status: Bogus Bug Type: IIS related Assigned To: Comments: either that, or you have error_reporting set to E_ALL in php.ini. decrease the value. Previous Comments: --------------------------------------------------------------------------- [2001-04-03 01:24:56] torben@php.net No, it probably just means that you don't have the register_globals option turned on. See the manual for more information: http://www.php.net/manual/en/configuration.php#ini.register-globals By the way, you should also check out: http://www.php.net/support.php for information on asking questions about PHP; there are a lot of bug reports and it helps if people ask to find out whether it really might be a bug before reporting it as one. --------------------------------------------------------------------------- [2001-04-03 00:39:36] gabriel_kwok@yahoo.com On Unix, I don't need to declare variables. With IIS, I try to check if a QUERY_STRING variables exists, with "if ($x != "") { echo $x; }". It works fine on Unix, but with IIS, it says that $x is not defined. I could check if it exists under the HTTP_GET_ variables ... but I don't want to go through that hassle. Is this a bug with IIS? --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10128&edit=2

« previous php.dev (#50698) next »