I need to know if it is possible to have a form submit it's data (username and passwrod in this case) to two places at once?
I have email being provided by everyone.net, and I also run a forum... is it possible for somebody to login one time for both?? how would I write the form tag to make this happen?
here is what I have for each right now:
FOR EMAIL:
<form name="myForm" method="post" action="<table border="0" cellpadding="0" cellspacing="0" width="248" summary="this is the login table to check email with">
<tr>
<td colspan="2" width="246"> </td></tr>
<tr>
<td nowrap width="105" align="left"><font face="Arial"><b>User Name:</b> </font></td>
<td align="center" width="139"><input type="text" name="loginName" size="15" value="" maxlength="32"></tr>
<tr>
<td align="left" width="105"><font face="Arial"><b>Password:</b> </font></td>
<td align="center" width="139"><input type="password" name="user_pwd" value="" size="15" maxlength="32"></td></tr>
<TR>
<td colspan="2"><hr noshade class="primary">
<input type="submit" value="Login" class="button" name="login">
</td>
<TR>
<td colspan="2" width="246">
<table border="0" cellpadding="0" cellspacing="0" width="246" summary="this is the login table to check email with">
<tr>
<td valign="middle" align="left" nowrap width="24"><font size="1"> <input type="checkbox" name="store_pwd" > </font></td>
<td class="smaller" width="218"><b><font size="3" face="Arial">Remember Me</font>
<br><font color="#000000" face="Arial" size="1">(Save my login info on this computer)</font></font></b></td>
</tr></table></TD></TR></TABLE></form>
FOR FORUMS:
<% if (strAuthType = "db"
then %>
<td><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><b>Username:</b></font><br>
<INPUT type="text" name="Name" size="10" value=""></td>
<td><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><b>Password:</b></font><br>
<INPUT type="password" name="Password" size="10" value=""></td>
<td valign="bottom">
<% if strGfxButtons <> "0" then %>
<INPUT src=button_login.gif type="image" value="Login" id=submit1 name=submit1 border=0 hspace=4>
<%
else
if strGfxButtons = "0" then
%>
<INPUT type="submit" value="Login" id=submit1 name=submit1>
<%
end if
end if
%>
</td>
</tr>
<tr>
<td colspan="3" align="left"><font face="<% =strDefaultFontFace %>" size="<%=strFooterFontSize %>">
<INPUT type="checkbox" name="SavePassWord" value="true" CHECKED><b> Save Password</b></font>
</td>
<%
else
if (strAuthType = "nt"
then
%>
I have email being provided by everyone.net, and I also run a forum... is it possible for somebody to login one time for both?? how would I write the form tag to make this happen?
here is what I have for each right now:
FOR EMAIL:
<form name="myForm" method="post" action="<table border="0" cellpadding="0" cellspacing="0" width="248" summary="this is the login table to check email with">
<tr>
<td colspan="2" width="246"> </td></tr>
<tr>
<td nowrap width="105" align="left"><font face="Arial"><b>User Name:</b> </font></td>
<td align="center" width="139"><input type="text" name="loginName" size="15" value="" maxlength="32"></tr>
<tr>
<td align="left" width="105"><font face="Arial"><b>Password:</b> </font></td>
<td align="center" width="139"><input type="password" name="user_pwd" value="" size="15" maxlength="32"></td></tr>
<TR>
<td colspan="2"><hr noshade class="primary">
<input type="submit" value="Login" class="button" name="login">
</td>
<TR>
<td colspan="2" width="246">
<table border="0" cellpadding="0" cellspacing="0" width="246" summary="this is the login table to check email with">
<tr>
<td valign="middle" align="left" nowrap width="24"><font size="1"> <input type="checkbox" name="store_pwd" > </font></td>
<td class="smaller" width="218"><b><font size="3" face="Arial">Remember Me</font>
<br><font color="#000000" face="Arial" size="1">(Save my login info on this computer)</font></font></b></td>
</tr></table></TD></TR></TABLE></form>
FOR FORUMS:
<% if (strAuthType = "db"
<td><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><b>Username:</b></font><br>
<INPUT type="text" name="Name" size="10" value=""></td>
<td><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><b>Password:</b></font><br>
<INPUT type="password" name="Password" size="10" value=""></td>
<td valign="bottom">
<% if strGfxButtons <> "0" then %>
<INPUT src=button_login.gif type="image" value="Login" id=submit1 name=submit1 border=0 hspace=4>
<%
else
if strGfxButtons = "0" then
%>
<INPUT type="submit" value="Login" id=submit1 name=submit1>
<%
end if
end if
%>
</td>
</tr>
<tr>
<td colspan="3" align="left"><font face="<% =strDefaultFontFace %>" size="<%=strFooterFontSize %>">
<INPUT type="checkbox" name="SavePassWord" value="true" CHECKED><b> Save Password</b></font>
</td>
<%
else
if (strAuthType = "nt"
%>