| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: Downloading a file instead of the web page
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 26 Mar 2002 16:55:10 +0100 (MET)
On Tue, 26 Mar 2002, Peter Bowyer wrote:
> >When I try that form manually, I get a "application/text" thing back. You
If you do a post the way the browser does, should should, yes. If the browser
> >I don't know if this is relevant or not here, but line separators should be
Right, curl won't encode them. You need to do that yourself.
> They do. with curl on the verbose setting it shows these headers:
*beeep*
This is a multipart formpost, you don't want to do that. The form you want to
[snip]
> Notice the different Content-type line? According to the PHP manual the
Correct, the broswer sends a normal post which you should do too.
--
Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-26
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info