| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: File Upload & Post problem - libcurl + PHP
From: lakshmipriya prabhu <prabhu_priya_at_yahoo.com>
Date: Tue, 2 May 2006 15:24:08 -0700 (PDT)
Hi ,
Daniel Stenberg <daniel_at_haxx.se> 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-php --------------------------------- Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info