#10128 [Com]: Undefined Variables
| From: | thumbnail-post1573 at hotmail dot com | Date: | Tue, 20 Jul 2004 14:59:43 +0000 |
| Subject: | #10128 [Com]: Undefined Variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62754@lists.php.net to get a copy of this message | ||
ID: 10128
Comment by: thumbnail-post1573 at hotmail dot com
Reported By: gabriel_kwok at yahoo dot com
Status: Bogus
Bug Type: IIS related
Operating System: Windows NT
PHP Version: 4.0.4pl1
New Comment:
<a href=http://slow-insertion-fist.da.ru>post
thumbnail</a>
Previous Comments:
------------------------------------------------------------------------
[2001-04-03 11:13:26] cynic@php.net
either that, or you have error_reporting set to E_ALL in php.ini.
decrease the value.
------------------------------------------------------------------------
[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 at yahoo dot 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?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10128&edit=1