$_REQUEST empty despite $HTTP_RAW_POST_DATA being full?!?
- From: "Jure Erznoznik" <jure_kill_spam@xxxxxxxxx>
- Date: Thu, 27 Oct 2005 15:57:20 +0200
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
.
- Prev by Date: Re: Simple Web site builder
- Next by Date: Re: Class newbie - why doesn't this work?
- Previous by thread: Re: adding numbers in php
- Next by thread: CR at the end of line !
- Index(es):
Relevant Pages
|