Bug #17204: $_GET remain always empty, whatever can be the value of register_globals
| From: | phpuser at infomediaire dot be | Date: | Tue, 14 May 2002 11:47:32 +0000 |
| Subject: | Bug #17204: $_GET remain always empty, whatever can be the value of register_globals | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7632@lists.php.net to get a copy of this message | ||
From: phpuser@infomediaire.be
Operating system: NT
PHP version: 4.2.0
PHP Bug Type: Scripting Engine problem
Bug description: $_GET remain always empty, whatever can be the value of register_globals
I'm using PHP 4.2.0. standalone (not as an apache module) on Apache 1.3.22
on NT 4.0 with SP6 (nobody's perfect ;)).
The following script
echo (count($_ENV)."<br>");
echo (count($_SERVER)."<br>");
echo (count($GLOBALS)."<br>");
echo (count($_GET)."<br>");
echo (count($_REQUEST)."<br>");
echo (count($HTTP_GET_VARS)."<br>");
give as result
31
34
48
0
0
0
The result is the same with register_globals set to on or off.
I want to access to each byte send in the HTTP header by the browser, even
if some fields are not foreseen by RFC's.
Of course I can have a look on Globals but I'm not sure
- that each line of the HTTP request will be there
- of what $Globals originate from the server or from the client.
Does anybody have the same problem ? Is it a bug ?
--
Edit bug report at http://bugs.php.net/?id=17204&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17204&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17204&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17204&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17204&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17204&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17204&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17204&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17204&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17204&r=globals