PHP 4.0 Bug #5503: Please allow access to the raw HTTP POST data (not just parsed form variables)
| From: | ian at clientside dot co dot uk | Date: | Tue, 11 Jul 2000 10:58:29 +0000 |
| Subject: | PHP 4.0 Bug #5503: Please allow access to the raw HTTP POST data (not just parsed form variables) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24047@lists.php.net to get a copy of this message | ||
From: ian@clientside.co.uk
Operating system: Linux
PHP version: 4.0.0
PHP Bug Type: Feature/Change Request
Bug description: Please allow access to the raw HTTP POST data (not just parsed form variables)
When IE 5 exports its favorites file (an HTML file) to a server, it sends a raw HTTP POST of the
data. i.e. The data isn't packaged into a variable (with the syntax 'Content-Disposition:
form-data; name="name"') in the same way as HTML form POSTs are.
PHP's HTTP_POST_VARS does a good job of exposing the variables found in HTML form posts. But it
doesn't seem to allow access to the raw HTTP POST data (HTTP_POST_VARS contains a brave but
corrupted attempt to parse the 'variables'). So I can't get at the submitted IE5
favorites data.
I've spent a lot of time researching this, but of course I might be missing something obvious.
So I'm sorry if I'm just missing an existing way to do this. If so, could you please point
me in the right direction?
Thanks,
Ian