Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

i want to submit a FORM using HTTP Request

kind of making service availble from another site

The form contain 2 submits actually ... First one asking for information etc.. and this is easy to fill ... and the second one is after you submit the information in the first step .. it will ask you "is the information above is right ? "

How do i make it work ? ?

i hope you understand what i mean

Thanks

Replies are listed 'Best First'.
Re: Posting Form Using HTTP Request
by InfiniteSilence (Curate) on Sep 11, 2005 at 01:45 UTC
    Step 1:

    perldoc CGI
    Step 2:

    #copy all of the code with the form in it use CGI qw|:standard|; ....
    Step 3:

    Alter the code to make it do what you want, or repost your attempt to modify that.

    Celebrate Intellectual Diversity

      Thanks for your reply .. but i think you didn't got what i mean

      The Form is already exits .. and what i want is Posting information into it Remotely ...

      i'm using HTTP::Request::Common & LWP::UserAgent and i can ONLY pass the first step with it .. my problem is how to pass the second step of the FORM ??

        WWW::Mechanize might make things a lot easier (it actually uses LWP::UserAgent underneath) -- it can basically fill out the form for you, and fill out another form on the resulting page, etc (it's basically a browser)..
Re: Posting Form Using HTTP Request
by Anonymous Monk on Sep 11, 2005 at 01:39 UTC

    Why should this have anything to do with Perl?