POST parsing troubles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux