HTTP_RAW_POST_DATA / Content-type
| From: | Ryan | Date: | Mon, 22 Oct 2001 22:58:47 +0000 |
| Subject: | HTTP_RAW_POST_DATA / Content-type | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-71878@lists.php.net to get a copy of this message | ||
Hello,
I'm running into a problem accessing $HTTP_RAW_POST_DATA in my scripts. I
am interfacing with an external system that is doing a HTTP POST to my php
script (I'm running 4.0.6). The variable $HTTP_RAW_POST_DATA is always
blank even though the external system is sending me data. The problem is
that the external system is not passing me a Content-type; they are
including Content-length and the various other headers, but not
Content-type. There is a known bug for this
(http://bugs.php.net/bug.php?id=12208), and it seems that it is resolved in
4.0.7.
Does anyone know of a patch for 4.0.6 that would resolve this bug? I
wouldn't mind re-compiling 4.0.6 after patching the code, but I would rather
not install 4.0.7 since it is still in the release candidate stage and the
server in question is a production server.
Thanks,
Ryan