M626
Programmer
- Mar 13, 2002
- 299
I am trying to create a IE page that users can select Perl scripts from check boxes and run them based on which check boxes they select. I have this so far but regardless of what I do the script always tries to run the “mycgi.pl” script. I don’t know how I can assign a variable to the check box to replace the “mycgi” for whatever script is selected.
<!-- begin content ----------------------------------------------------------------------------------------->
<FORM ACTION="../cgi-bin/mycgi.pl"><INPUT TYPE=CHECKBOX NAME="Script 1"> Script1<BR>
<INPUT TYPE=SUBMIT VALUE="submit">
<!-- end content ------------------------------------------------------------------------------------------>
<br>
<!-- begin content ----------------------------------------------------------------------------------------->
<FORM ACTION="../cgi-bin/cgi2.pl"><INPUT TYPE=CHECKBOX NAME="Spript 2"> Script2<BR><BR>
<INPUT TYPE=SUBMIT VALUE="submit">
<!-- end content ------------------------------------------------------------------------------------------>
<br>
<!-- begin content ----------------------------------------------------------------------------------------->
<FORM ACTION="../cgi-bin/mycgi.pl"><INPUT TYPE=CHECKBOX NAME="Script 1"> Script1<BR>
<INPUT TYPE=SUBMIT VALUE="submit">
<!-- end content ------------------------------------------------------------------------------------------>
<br>
<!-- begin content ----------------------------------------------------------------------------------------->
<FORM ACTION="../cgi-bin/cgi2.pl"><INPUT TYPE=CHECKBOX NAME="Spript 2"> Script2<BR><BR>
<INPUT TYPE=SUBMIT VALUE="submit">
<!-- end content ------------------------------------------------------------------------------------------>
<br>