| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: curl, asp.net and login forms
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 9 Jun 2006 10:36:50 +0200 (CEST)
On Fri, 9 Jun 2006, Daniel Vrabioiu wrote:
> $postData[ 'ProcForm' ] = "Process";
...
> curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);
If I recall things correctly, the PHP/CURL will convert that into a multipart
> Content-Type: application/x-www-form-urlencoded
... and this certainly is not multipart!
> Does curl encodes the headers to look same way as firefox encodes them ?
No, not unless you don't make them use the same kind of POST! ;-)
> Could this be the problem?
Yes, it will most certainly be.
> Any suggestion are greatly appreciated,
Convert the POST to a plain normal one.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2006-06-09 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info