raw post data access ($HTTP_POST_RAW_DATA)
| From: | Bruin, Bolke de | Date: | Wed, 23 Aug 2000 07:38:52 +0000 |
| Subject: | raw post data access ($HTTP_POST_RAW_DATA) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30283@lists.php.net to get a copy of this message | ||
Hi,
(I posted this on PHP-GENERAL, but did not get a reply)
I am having trouble with accessing data from a POST request
generated by a Quicken (OFX) application. This request
is not RFC compliant such that it does not set any variables
in the post request.
I found out in the latest source (4.0.1pl2 NEWS file) that there does
exist a HTTP_POST_RAW_DATA var. But I do not know when it gets
set (at least not when a standard post occurs).
It also somewhere in one of the "main/php_xxx.c" files.
Unfortunately I am stuck with the Win32 version of PHP (I know
, I know), but my employer wont let me use otherwise (yet :PP)
FYI,
The incoming data looks something like this:
** cut **
POST /quotes/bin/srv44.fll HTTP/1.1
Host: www.xxx.com
User-Agent: MyApp 5.0
Content-Type: application/x-ofx
Content-Length: xxxx
OFXHEADER:100
DATA:OFXSGML
VERSION:150
SECURITY:TYPE1
ENCODING:USASCII
<ofx>
bla
</ofx>
** cut **
How do i get to this data?
thx in advance...
Bolke