raw post data access ($HTTP_POST_RAW_DATA)

From: Date: Wed, 23 Aug 2000 09:07:28 +0000
Subject: raw post data access ($HTTP_POST_RAW_DATA)
Groups: php.dev 
Request: Send a blank email to php-dev+get-30292@lists.php.net to get a copy of this message
Hi I have just had a look at the source code somewhat further. But the function which sets this variable never gets called with the appropiate data. Should this be done within (although the function name is a bit awkward then) "php_hash_environment" in main/main.c? greetz Bolke -----Oorspronkelijk bericht----- Van: Bruin, Bolke de Verzonden: Wednesday, August 23, 2000 9:39 AM Aan: php-dev@lists.php.net Onderwerp: [PHP-DEV] raw post data access ($HTTP_POST_RAW_DATA) 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

« previous php.dev (#30292) next »