Date: 08/31/99
- Next message: Philip Hallstrom: "[PHP3] fdftk 2.0???"
- Previous message: Cameron Just: "Re: [PHP3] Uploaded files stored in Database or Filesystem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ok - I have a very weird problem with parsing the $HTTP_POST_VARS.
When I use perl - I can see everything coming in via a POST - but when I use
PHP3 - I cannot get anything out of the
HTTP_POST_VARS array.
I execute the following using a POST :
<?;
Header("Content-type: text/html");
echo " The request method is $REQUEST_METHOD <BR>";
echo " The Content length is $CONTENT_LENGTH <BR>";
echo "the HTTP_POST_VARS is : $HTTP_POST_VARS <BR>";
echo "There are ".count($HTTP_POST_VARS)." items in http_post_vars
<BR><BR>";
while (list($name, $value) = each($HTTP_POST_VARS)) {
echo "$name = $value<br>\n";
}
echo "End"
?>
And this is the output :
The request method is POST
The Content length is 2662
the HTTP_POST_VARS is : Array
There are 0 items in http_post_vars
End
Can I assume b/c the $CONTENT_LENGTH is 2662 - that there is something in
the array?? But then why is the count 0?
I know I will get a lot of " But it works on my box " Im sure - but this
does not work on my box ;)
Any ideas at all would be most grateful!
Thanks,
Rob
RegSoft.com, Inc. - Shareware Sales and Registration Service
PMB 201
10820 Abbotts Bridge Road
Suite 220
Duluth, GA 30097
V - 770-319-2718
F - 770.497.9234
http://www.regsoft.com
info <email protected>
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Philip Hallstrom: "[PHP3] fdftk 2.0???"
- Previous message: Cameron Just: "Re: [PHP3] Uploaded files stored in Database or Filesystem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

