Unexpected Notice message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm a bit baffled by a notice message displayed:
Notice: Use of undefined constant QUERY_STRING - assumed 'QUERY_STRING' in
..

The line in question has
if (strlen($_SERVER[QUERY_STRING]) > 0) {
..

So I set a breakpoint on the line of the notice. The code executes to the
breakpoint, I inspect the $_SERVER[QUERY_STRING] and it's got the expected
value, it only executes that line once (never gets to that breakpoint
again), and yet I get the notice message. Can anyone give me an idea what's
going on here?

Cheers
Arno


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux