#19625 [NEW]: QUERY_STRING returns as NULL
| From: | mwhited at mail dot eastland dot k12 dot oh dot us | Date: | Thu, 26 Sep 2002 20:20:54 +0000 |
| Subject: | #19625 [NEW]: QUERY_STRING returns as NULL | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-20479@lists.php.net to get a copy of this message | ||
From: mwhited@mail.eastland.k12.oh.us
Operating system: Linux Slackware 8.1
PHP version: 4.2.3
PHP Bug Type: Apache related
Bug description: QUERY_STRING returns as NULL
I am Using PHP 1.2.3 and Apache 1.3.26
When you submit a form or click on a link the $QUERY_STRING is being
nulled. I figured out a simple (but unsecure) work around.
-WORK AROUND-
Create a file with the contents below
<? $QUERY_STRING=$HTTP_SERVER_VARS['QUERY_STRING']; ?>
Then add that file to the value auto_prepend_file in the php.ini and set
the register_globals = on in the same file
This fixed my Problem but I hope there is a better solution
-Matthew Whited
--
Edit bug report at http://bugs.php.net/?id=19625&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19625&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19625&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19625&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19625&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19625&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19625&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19625&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19625&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19625&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19625&r=globals