cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: problem with post form

From: Apró Szabolcs <aprosz_at_freemail.hu>
Date: Fri, 10 May 2002 13:24:14 +0200 (CEST)

Hi,
A tried with -d option as well, but did not work either.
formtag is: <form method=post action=/include/login.big>
formfind output:
> formfind.pl "http://www.tozsdecapa.hu/index.big?
p=user_login&path=_tipp.jatek=35"
--- FORM report. Uses POST to URL "/include/login.big"
Input: user (TEXT)
Input: pass (PASSWORD)
Input: back=user (HIDDEN)
Button: "" (IMAGE)

Regards
Szabolcs

On Thu, 9 May 2002, [ISO-8859-2] Apró Szabolcs wrote:

> I tried to fill in forms, and post data with -F option,
that works
> often, but not with every forms.

-F is not the proper option for "every form". You will most
likely need to use -d for the majority of them. See further
details on this here:

        http://curl.haxx.se/docs/readme.curl.html

and

        http://curl.haxx.se/docs/httpscripting.shtml

> In this case I receive nothing, the connection simple
closes and I
> don't know why. I checked the syntax several times and
used
> formfind.pl to find out the fields and did not mistype
anything. This
> form is a login screen and works from browser. Has
anybody an idea how
> to step forward with exemination?

If you would show us the HTLM <form> tag and the
formfind.pl output, we could probably tell you for sure.

-- 
    Daniel Stenberg -- curl groks URLs -- 
http://curl.haxx.se/
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.net
Received on 2002-05-10