| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: File Postilating Errornation
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 5 Jun 2003 14:29:31 +0200 (CEST)
On Wed, 4 Jun 2003, Steve Keller wrote:
> > This is causing a rfc1867 (multpart) formpost. Is that really what you
Sorry, I didn't mean to imply that there are several types of multi-part
> I've tried setting CURLOPT_POST to do an URL-encoded post, but get the same
Yes, but as the form you want to automate really is a multi-part you won't
> Aye, there's my trouble. I have a feeling nobody's done this before with
Sometimes is the first time for every web site. In 99.98% of the times, we
> There's little or no documentation on actually sending server-to-server
The uploader behaves exactly like a client here.
> <form id='main_form' name='main_form' method='post'
This is not the same URL what you used in the script you showed us. This is
> <input class='text' type="file" name="mediafile">
I think you got this field right.
> <INPUT type='submit' class='bgbutton' value='Submit' id='submitter'
You set 'submit=1' when this tag says it should be 'submitter=Submit'...
> <INPUT type='button' class='bgbutton' value='Reset' id='resetter'
This field should be left out.
> I used the same field names and changed the destination URL, although I
You should use the exact ones that are used in the <form> tag as that's what
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.Received on 2003-06-05 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info