W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2006

RE: Arguments from user in case of Post Request

From: Adam Mlodzinski <Adam.Mlodzinski@quest.com>
Date: Thu, 11 May 2006 11:35:16 -0400
Message-ID: <46C5DCD410224A42BE3151AC8AE75E4E07E533E1@tormbxw01.prod.quest.corp>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:45 GMT