Re: Re: How to send XML requests from PHP?
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On 05/08/2012 11:25 AM, Michelle Konzack wrote:
Hello Jim Lucas, Am 2012-05-08 11:08:13, hacktest Du folgendes herunter:Look into cURL http://php.net/curlI know "curl" but I do not know, HOW to send the XML stuff. The XML code is generated using a temp file for logging, which mean, I can see any changes on the system... Thanks, Greetings and nice Day/Evening Michelle Konzack
It is data, you send it in the data section of a post. Typically you must also assign it to a variable as you would any other value that you are submitting.
What you should do is capture (using Firefox and viewing the headers) the communication that your browser would perform when submitting the data via FireFox. Once you have that, you will then see how the data needs to be associated.
Sending post data via curl is a matter of formatting the data right and inserting it into the curl request.
-- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples/ http://www.bendsource.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php