"The *image* input type specifies a graphical submit button."
It has a name, but no value, so it probably should be sent like this:
You're not actually submitting the image, that's just an image for the
button that the user clicks on.
To be really sure, try submitting the same form in Firefox with the
LiveHTTPHeaders extension loaded and running. That'll show you *exactly*
what's being sent to the server.
On 10/6/05, Tan, Shwee-Tuan <tanst_at_m1.com.sg> wrote:
> Is there a way to use curl for post form login using image as input type.
> However, there is no value or submit value.
> <input type="image" border=0 src="/images/login.gif" name="Login">
> -----Original Message-----
> From: Daniel Stenberg [mailto:daniel-curl_at_haxx.se <daniel-curl_at_haxx.se>]
> Sent: Wednesday, October 05, 2005 5:34 PM
> To: the curl tool
> Subject: RE: Post form login and http get
> On Wed, 5 Oct 2005, Tan, Shwee-Tuan wrote:
> > I have tried using cookies but does not work. The cookie saved does not
> > contain any information. Can you lead me to start off somewhere or if
> > are samples I can work from....
> Start here => http://curl.haxx.se/docs/httpscripting.html
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
> This email (including any attachment) is subject to the following
Received on 2005-10-06