Hi group -
I have an html form for that uses username and password to login to a
specific area of the website. The "area" the user wants to go to is
based on a pull down menu. Becasue the user/password info is in
differnet databases, how can I call different validation scripts based
on this input ?
THANK YOU!
See below please. Somethinglike this:
form.html:
<form name="loginform" method="post" action="login.php">
<select name="loginform">
<option value="one">Section 1</option>
<option value="two">Section 2</option>
</select>
login.php:
@extract($_POST);
if($_POST[loginform] == "one") {
echo "action = /forums/scc/dispatch.cgi/_admin/AVFLogin"
NAME="LoginForm" >
echo "<input type=hidden name=\"autologin\" value=\"1\">\n";
echo "<input type=hidden name=\"formstyle\" value=\"standard\">\n";
echo "<input type=hidden name=\"returnforum\" value=\"_admin\">\n";
echo "<input type=hidden name=\"returnmsg\"
value=\"acahomepage\">\n";
} else {
echo "action = /path to different cgi \n";
echo :different values for hidden fields".
}