ID:               17204
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: NT
 PHP Version:      4.2.0
 New Comment:

what about :
echo (count($_POST)."<br>");

??

/Leblanc


Previous Comments:
------------------------------------------------------------------------

[2002-05-14 07:47:32] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=17204&edit=1

Reply via email to