| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: File Upload & Post problem - libcurl + PHP
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 3 May 2006 00:11:48 +0200 (CEST)
On Tue, 2 May 2006, lakshmipriya prabhu wrote:
> The output should show a trace of the file uploaded and the parameters
Eh, no. If you use the simple CURLOPT_VERBOSE approach it won't.
Which is why I advice you should debug these things using the command line
> But i dont get a trace as mentioned above for multipart/form-data upload
The 200 is not a redirect. I take it you meant a HTML redirect...
> Coul you let me know why this happens?
Yes, the server responds with this when you send the post to it.
And to figure out why the server responds this way, you need to understand
LiveHTTPHeaders and --trace-ascii is a super combination to sort that out.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2006-05-03 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info