Menu
Hi all,
I’d like to know how to return data via cURL.
I have the following scenario:
Site A sends an XML file via cURL to site B. Site B does some processing on the data and returns some data back to site A.
I understand how to create and send the XML from site A, and I understand how to receive, parse and process the XML on site B – what I don’t understand is how to return the results of the processing on site B to site A!
I think it has something to do with…
[code=php]$result = curl_exec($ch);
…when site A cURL’s the XML – could someone please tell me how this works please?
Thanks!
dai.hop