Hello

Having tested my code locally with PERL, I am now playing with it as cgi.

So far I have only been using 1 ARGV value and would like to add another one into my calcs, so value1 = $ARGV[0] and value2 = $ARGV[1]

In my html I am using a couple of radio buttons, a textfield, and a submit button.

The radio  pushes ?value1=abc to the browser
the text   pushes ?value2=123 to the browser and
the submit pushes ?submit=submit to the browser.

2 possible outcomes
the url will show as /?value1=abc&value2=123&submit=submit
or as /?value2=123&submit=submit

How do I parse these parms into my cgi?
If necessary, I can change my html to include a default "checked" value for value1, but would like to know how big of a deal it would be if I didn't return a default value.

Also, presumably I will have to use reset(s) to empty these params from the viewers browser, especially that ugly superfluous submit=submit.

thanks
Brian


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to