Click to See Complete Forum and Search --> : 2 CGIs


btisdabomb
11-30-2005, 05:27 PM
I have an html page and I want one button to use one CGI and another button to use a different CGI. How do I do this? In form action I call the first cgi, but the 2nd button keeps using the first cgi when I need it to use a different one.

CyCo
11-30-2005, 06:41 PM
<form action="/cgi-bin/cgi_1.cgi" method="post">
<input type="submit" name="CGI_1" value="CGI_1">
</form>

<form action="/cgi-bin/cgi_2.cgi" method="post">
<input type="submit" name="CGI_2" value="CGI_2">
</form>