POST parsing troubles

From: Date: Wed, 06 Apr 2005 08:37:06 +0000
Subject: POST parsing troubles
Groups: php.general 
Request: Send a blank email to php-general+get-212383@lists.php.net to get a copy of this message
Hi, I have the following problem: An external system passes me a post request as bellow (server names etc changed): POST /cgi-bin/sms-weather HTTP/1.1 Host: sms-app.company.com X-Recipient: 12345:0:0 X-Sender: 040123456:0:0 X-Service: weather Content-Length: 7 WEATHER ================== I need to get all the X headears (which I can) plus the content from this POST. My problem is that the content is not a key/value pair, and so does not apear as a _POST[] variable or as apart of any other array I can think off (_REQUEST,apache_request_headers()). Any help will be gradly apreciated. Thanks in advance, Kyriacos Sakkas -- Kyriacos Sakkas Netsmart Development Team Tel: + 357 22 452565 Fax: + 357 22 452566 kyriacos(at)netsmart.com.cy http://www.netsmart.com.cy Taking Business to a New Level!

« previous php.general (#212383) next »