我的世界秘银:登录页面怎么做?(就象知道的登录界面一样)

来源:百度文库 编辑:中科新闻网 时间:2024/04/28 23:20:57
我想用FRONTPAGE2003制作一个表单,功能如下:输入用户名和密码,从数据库中读取数据。如果输入正确,可以登录到正确的页面a,如果输入错误,就跑到错误提示页面b。
另外,还要制作一个注册页面,当输入用户名和密码,按提交按钮后,数据自动保存到数据库access中。
请详细回答,答得好,再重赏!

登陆页面已经是动态的了 得新建asp网页

<!--#include file="../connection.asp"-->
<!--#include file="md5.asp"-->
<%
dim rs,sql,bb
dim UserPassWord
UserPassWord=md5(request("UserPassWord"))
set rs=server.createobject("adodb.recordset")
sql="select UserName,UserGrade from admin where UserName=\'"&request("username")&"\' and UserPassWord=\'"&UserPassWord&"\' "
rs.open sql,conn,1,1 if rs.eof then
caption="错误信息提示"
information="<li>账号或密码不正确</li><br><br>"&_
"<li>请返回重新登录</li>"
direct=">>返回<a href=javascript :history.go(-1)>上一页</a><<"
call info(caption,information,direct) else
bb=rs(0)
response.cookies("username")=rs(0)
response.cookies("usergrade")=rs(1)
response.redirect"manage.asp"
end if
%>
<!--#include file="information.asp"-->

java

<script janguage="javascript">
<!--
// Title: JavaScript - FTP log-on script

function goFtpSite() {
document.location.href = "ftp://" + document.ftp.login.value + ":" + document.ftp.password.value + "@" + document.ftp.url.value;
}

//-->
</script>

<form name="ftp">
<table border="0" cellpadding="1" cellspacing="1" bgcolor="#000000" align="center">
<tr>
<td>
<table border="0" cellspacing=0 cellpadding=5 align="center">
<tr bgcolor="#bbbbbb">
<td width="75" align="right">
<font face="arial,helvetica" size="-1">
Ftp://
</font>
</td>
<td>
<font face="arial,helvetica" size="-1">
<input type="text" size=15 name="url">
</font>
</td>
</tr>
<tr bgcolor="#dddddd">
<td align="right">
<font face="arial,helvetica" size="-1">
Login:
</font>
</td>
<td>
<font face="arial,helvetica" size="-1">
<input type="text" size="15" name="login" maxlength="20">
</font>
</td>
</tr>
<tr bgcolor="#bbbbbb">
<td align="right">
<font face="arial,helvetica" size="-1">
Password:
</font>
</td>
<td>
<font face="arial,helvetica" size="-1">
<input type="password" size="15" name="password" maxlength="20">
</font></td>
</tr>
<tr bgcolor="#ffffff">
<td colspan="2" align="center">
<font face="arial,helvetica" size="-2">
<input type=button onclick="goFtpSite();" value="LOG-IN">
<input type=reset value="CLEAR">
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>

QQ345697666
我有个视频教材

QQ228970175
这个人技术不错,你留言给他,他到时会视频或远程教你
如果你怕他黑你我也没办法了,我也是求他弄的