$_REQUEST empty despite $HTTP_RAW_POST_DATA being full?!?



Hi guys,

I have an interesting problem:
I'm calling a small PHP 5.0.4 script to obtain a bit of information using
XMLHTTP object and POST method.
While PHP / Windows receives the post stream fine and fills up the $_POST
and $_REQUEST arrays, the linux version does not.
error_log() - ging shows that the respective arrays are empty, but the
$HTTP_RAW_POST_DATA contains the appropriate information.

I have checked the php.ini file on both servers and found no relevant
differences.
However i noticed that the $_SERVER array contains "content-type" set to
"application/xml" instead of text/plain which is actually what i send.
GET data gets parsed correctly, but i need post in this case :(

What am i missing here? Why does the post data not get parsed on the linux
server?

Any help greatly appreciated,
Jure


.



Relevant Pages

  • Re: OT - What is the proper netiquette?
    ... do it from a command line in linux or from php. ... Some of us have reputable ISP's who understand that servers are run on ... Some of us have reputabe ISP's who understand that home users have no ...
    (alt.os.linux)
  • Re: OT - What is the proper netiquette?
    ... do it from a command line in linux or from php. ... Some of us have reputabe ISP's who understand that home users have no need to run servers at all. ...
    (alt.os.linux)
  • Re: The Inquirer
    ... > If the inquirer is so pro AMD64 and Linux why does it run on M$ ... > tell me why PHP isn't Open source? ...
    (comp.os.vms)
  • The Inquirer
    ... If the inquirer is so pro AMD64 and Linux why does it run on M$ ... Accordingly if it changed to GNU/Linux serers and used PHP can anyone ...
    (comp.os.vms)
  • TSLSA-2005-0059 - multi
    ... Affected versions: Trustix Secure Linux 2.2 ... PHP is an HTML-embedded scripting language. ... use of Rest with FTP servers and Range with HTTP servers to retrieve files ... - New Upstream and Multiple Vendor Security Fixes ...
    (Bugtraq)