HTTP Request Message Issue

Reply

Join Date: Jun 2005
Posts: 1
Reputation: jonathan2005 is an unknown quantity at this point 
Solved Threads: 0
jonathan2005 jonathan2005 is offline Offline
Newbie Poster

HTTP Request Message Issue

 
0
  #1
Jun 1st, 2005
Hi,
I have a problem with resolving the HTTP request message.
I am trying to pass the xml structure as a message body in the HTTP request. After that I want to read it in my PHP script file on server side.
I can read all the headers, but I'm not sure how to read the body.

For Example:

GET /some_uri HTTP/1.1
Host: some_host
Content-Type: text\plain
Content-Length: char_num_of_the_message_body



Thanks
John
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 354
Reputation: Troy is an unknown quantity at this point 
Solved Threads: 5
Troy's Avatar
Troy Troy is offline Offline
Posting Whiz

Re: HTTP Request Message Issue

 
0
  #2
Jun 9th, 2005
I'm not exactly sure what you are asking, but perhaps the curl functions are what you are looking for.
http://us2.php.net/manual/en/ref.curl.php
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC