cURL / Mailing Lists / curl-and-php / Single Mail


Re: curl and xml problem

From: Daniel Stenberg <>
Date: Tue, 18 Mar 2008 21:58:46 +0100 (CET)

On Tue, 18 Mar 2008, Michael Horowitz wrote:

> Here is the code I am using. I am sending a string.

> curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlResult);

This this sends the data as a regular POST...

> The xml shows up after it is posted as array(1) { ["<?xml_version"]=>
> string(972) "\"1.0\"?>

... and this weird splitting up the received data in "var=data" pairs is done
by the receiving end => PHP code => stuff I know next to nothing about.
Received on 2008-03-18