Re: HTTP / XML Project help required

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

 



Hello,

on 11/20/2006 11:52 PM Richard Luckhurst said the following:
> I have to develop a listener that sits waiting and when it receives a request it
> has to send a message using a HTTP POST to a URL. I know the URL and the port
> (not 80 as that would be too easy). The message starts with a custom HTTP header
> and I know the 12 items that must be in the header. The message then contains a
> block which is a request to the server we are posting to. The whole process then
> receives a response which looks very much like the message being POSTed to it.
> 
> I don't have any trouble bulding the body of the message as it is really just a
> string building exercise. What I have no experience with is the HTTP POST side
> of things. I would appreciate any thoughts on ways of achieving what I have to
> do.

You may want to try this HTTP client class. I simplifies building and
sending HTTP POST request or of any other kind and does not require any
special PHP extensions.

http://www.phpclasses.org/httpclient


-- 

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

-- 
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