请问谁知道用vbscript编写ASP代码???

来源:百度知道 编辑:UC知道 时间:2024/05/22 10:15:59
1、制作如下前台页面a.asp,相对应后台页面为b.asp.
2、制作后台b.asp,实现功能
a当用户输入姓名,密码为空时,提示用户"姓名,密码输入不能为空,请返回重填",同时返回两字链接到a.asp
b 当密码不在8-16位之间时,提示用户"密码必须在8-16位之间,请返回重填",同时返回两字链接到a.asp
c 如果用户输入符合a,b要求,则根据用户的输入显示"**,感谢您的支持!"(**为用户姓名)

<!--
==============================
a.asp
==============================
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
</head>

<body>
<form id="form1" name="form1" method="post" action="b.asp">
用户名:
<input name="username" type="text" id="username" />
<br />
密 码:
<input name="userpwd&q