On Tue, 26 Sep 2006 01:06:41 GMT, Jeff <dont_bug_me RemoveThis @all.uk> wrote:
> Let's say we have a form element.
>
><input type="text" name="a" id="b" value="some_value">
>
>Does the ID arrive at the server, or is it only the name? Does this vary
>by browser?
>
> Jeff
All the supplied values and choices are packaged up and sent to the
server (or an email address).
Whether this input is available through stdin or in the environment
variable QUERY_STRING will depend upon the submission method - GET or
POST.
if ($ENV{'REQUEST_METHOD'} eq 'POST')
read(STDIN, $input, $ENV{'CONTENT_LENGTH'});
else
$input = $ENV{QUERY_STRING};
Have fun!
Matt
--
Veritas Vincti
http://www.probertencyclopaedia.com