curl-and-php
Re: curl and xml problem
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 18 Mar 2008 21:58:46 +0100 (CET)
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.
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-03-18