cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: LibCurl PHP Posting Large XML Problem
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 19 Feb 2004 13:19:39 +0100 (CET)
On Thu, 19 Feb 2004, Mark Spittlehouse wrote:
> . The Order XML can be posted as an un-encoded string. Using this method,
> curl_setopt($ch, CURLOPT_TIMEOUT, 10); // times out after 10s
This might be too strict.
> curl_setopt($ch, CURLOPT_POST, 1); // set POST method
> And this works just fine for small orders. I need to be able to place
curl_setopt($ch, CURLOPT_POSTFIELDS, $data); // add POST data
However, you used $data when it was supposed to be "form encoded" so you need
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]]Received on 2004-02-19
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info