On Tue, 2006-11-21 at 12:52 +1100, Richard Luckhurst wrote: > Hi All > > I have had a project dumped in my lap and would appreciate some thoughts, > guidance, ideas from the members of the list. > > 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. See the cURL thread. You can also look up the section for cURL in the PHP docs. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php