|
Posted by Jure Erznoznik on 10/13/40 11:30
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
Navigation:
[Reply to this message]
|