RE: Arguments from user in case of Post Request

"Adam Mlodzinski" <[email protected]> Thu, 11 May 2006 11:35:16 -0400
Newsgroups gmane.comp.lib.libwww
Message-ID <46C5DCD410224A42BE3151AC8AE75E4E07E533E1@tormbxw01.prod.quest.corp>
Each field in the form you are posting to has an associated "name"
attribute - this is how the web application distinguishes the purpose of
a value (basic HTML). So, if the users name goes into a field with the
name "field_two", the argument to HTParseFormInput would be
"field_two=3Dargv[1]".

Examine your html form to find the name values you need to use.

--=20
Adam Mlodzinski



----Original Message----
From: [email protected] [mailto:[email protected]]
On Behalf Of [email protected]
Sent: Thursday, May 11, 2006 7:49 AM
To: [email protected]
Subject: Arguments from user in case of Post Request

> Hi folks,
> I have written a Post Request code for Login, in which I have
> to supply the user name and password as arguments with uri on
> the command line. But I want to take user name and password
> from the user. But the problem is, while parsing the
> arguments, we have a function HTParseFormInput, which takes
> arguments as 'argument=3Dvalue' string, but I only want to pass
> the value. Is there any other method that can be helpful ?
> I am attaching the code for your reference.