Re: Debug HTTPS Curl Request

Shanshui Liu <[email protected]>
Newsgroups gmane.comp.web.curl.php
Message-ID <[email protected]>
Hi Daniel,

There's a possibility that the server is choking on the POST data that is
sent as multipart/form-data instead of the
usual application/x-www-form-urlencoded. Try converting the array
for CURLOPT_POSTFIELDS to an urlencoded string
(name1=value1&name2=value2&...) and see if it works.

With regards,
Liu Shan Shui
http://lx.sg/
"Life would be much easier if I had the source code." - Anonymous


On Tue, Nov 9, 2010 at 5:53 AM, Daniel Cole <[email protected]> wrote:

>   Hi Shiplu,
>
>
>
> I have tried to replicate the process using the command line version of
> cURL but I’m afraid I’m a bit out of my depth here. I have attached a copy
> of the PHP script that is run (note: this is invoked from a separate
> script). As you will be able to see it deals with cookies and logging in.
>
>
>
> If you could please provide some pointers on how to perform this action
> from the command line would be greatly appreciated.
>
>
>
> Thanks,
>
> Daniel
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.