| | |
HTTP Request Message Issue
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2005
Posts: 1
Reputation:
Solved Threads: 0
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
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
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
http://us2.php.net/manual/en/ref.curl.php
![]() |
Similar Threads
- Http request error when using AJAX. (JavaScript / DHTML / AJAX)
- Problem in identifying HTTP request field for enoded type (base64 or binary) (C++)
- Searching and Comparing strings from an XML Document (Python)
- How many PHP scripts can run concurrently via http request? (PHP)
- HTTP request in C (C)
- send http request?? (C++)
Other Threads in the PHP Forum
- Previous Thread: look-up table help
- Next Thread: How to parse fields
| Thread Tools | Search this Thread |
5.2.10 action apache api array beginner beneath binary broken cakephp checkbox class classes cms code cron curl database date destroy display dynamic echo echo$_get[x]changingitintovariable... email encode error fcc file files folder form forms function functions google header howtowriteathesis href htaccess html image images include insert ip javascript joomla limit link local login mail memberships menu mlm mod_rewrite multiple multipletables mysql mysqlquery neutrality oop open passwords paypal pdf php provider query radio random record remote rss script search server sessions sockets source space sql strip_tags syntax system table template thesishelp tutorial update upload url validator variable video voteup web window.onbeforeunload=closeme; youtube





