Re[2]: [PHP] XML API, libcurl, POST Help Needed

2007-01-07 Thread Richard Luckhurst
Hi Jochem, Thanks very much for your help. I now have the application working. Just for anyone elses interest here are a few comments. >> $length = "Content-Length: 502"; JM> The way I see it your Content-Length is wrong - the JM> length of your request in this instance would 380 bytes, JM> bas

Re: [PHP] XML API, libcurl, POST Help Needed

2007-01-07 Thread Jochem Maas
Richard Luckhurst wrote: > Hi List > > I have been given a rather urgent problem to solve for one of our clients. I > have to be able to connect to a server that deals with a section of the travel > industry and send and receive XML data. The API is quite poorly written and I > am > finding it ha

[PHP] XML API, libcurl, POST Help Needed

2007-01-07 Thread Richard Luckhurst
Hi List I have been given a rather urgent problem to solve for one of our clients. I have to be able to connect to a server that deals with a section of the travel industry and send and receive XML data. The API is quite poorly written and I am finding it hard to get sense out of the companies hel