Reply to POST parsing troubles

Your name:

Reply:


Posted by Kyriacos Sakkas on 04/06/05 11:37

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!

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация