- From: Adam Mlodzinski <Adam.Mlodzinski@quest.com>
- Date: Thu, 11 May 2006 11:35:16 -0400
- To: <neelu_dhiman@persistent.co.in>, <www-lib@w3.org>
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=argv[1]". Examine your html form to find the name values you need to use. -- Adam Mlodzinski ----Original Message---- From: www-lib-request@w3.org [mailto:www-lib-request@w3.org] On Behalf Of neelu_dhiman@persistent.co.in Sent: Thursday, May 11, 2006 7:49 AM To: www-lib@w3.org 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=value' 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.
Received on Thursday, 11 May 2006 15:35:28 UTC