Im currently working on a little Intranet.
and to save save space I have a set of textfields for Login & password, that will (hopefully) work with a set of radio buttons.
you choose which area you wish to login to via radio buttons. Once it is submitted it goes to another form to figure out wich form to try and work with.
heres another failing attempt of the redirector page
<?
if ($login == "Timew") {
echo"<BODY>";
echo"<FORM Action=/timeweb/verify.asp>";
$t1=$login_username;
$t2=$login_password;
echo"</FORM>";
echo"<SCRIPT LANGUAGE=JavaScript>";
echo"document.forms[0].submit(); ";
echo"</SCRIPT>";
echo"</BODY>";
} else {
echo" <BODY>";
echo"<FORM action=/twig/index.php3 method=POST>";
$login_username=$login_username;
$login_password=$login_password;
echo"</FORM>";
echo"<SCRIPT LANGUAGE=JavaScript>";
echo"document.forms[0].submit(); ";
echo"</SCRIPT>";
echo"</BODY>";
};
?>
Any help would be appreciated. currently that code just takes you to the pages that contain the login pages that came with the software.
its like its not sending the post. using the text box for either login werx fine, just doing it all in one seems to be kickin my butt