求大神帮我做个练习~期末了...需要拯救~
asp吧
全部回复
仅看楼主
level 2
hanzi_梦 楼主
练习一:1.编写注册页面表单regist.asp,表单内容有:用户名、密码、年龄、性别、籍贯、个人说明。处理页面为deal.asp,接收到regist.asp的数据后,将注册信息显示在该页面上。
2.创建页面show.html,制作超链接,名为“今天的时间”,链接地址为time.asp,跳转到time.asp后显示打开show.html的时显示的时间。[爱心]
2016年06月21日 09点06分 1
level 11
asp代做 Q497946778
2016年06月21日 09点06分 2
level 10
有现成的很适合你,稍微改改,十元分享
2016年06月22日 00点06分 3
level 1
regist.asp页面的内容
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!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=utf-8" />
<title>注册页面</title>
</head>
<body>
<table width="600" border="0" cel
lsp
acing="0" style="font-size:14px; text-align:center; margin:0px auto;">
<tr>
<td colspan="3">注册</td>
</tr>
<tr><form method="post" action="deal.asp">
<td width="60" style="text-align:right;">用户名</td>
<td style="text-align:left;"><input type="text" id="username" name="username" /></td>
<td width="60"> </td>
</tr>
<tr>
<td width="60" style="text-align:right;">密码</td>
<td style="text-align:left;"><input type="text" id="password" name="password" /></td>
<td width="60"> </td>
</tr>
<tr>
<td width="60" style="text-align:right;">年龄</td>
<td style="text-align:left;"><input type="text" id="age" name="age" /></td>
<td width="60"> </td>
</tr>
<tr>
<td width="60" style="text-align:right;">籍贯</td>
<td style="text-align:left;"><input type="text" id="birthplace" name="birthplace" /></td>
<td width="60"> </td>
</tr>
<tr>
<td width="60" style="text-align:right;">个人说明</td>
<td style="text-align:left;"><input type="text" id="resume" name="resume" size="60" /></td>
<td width="60"> </td>
</tr>
<tr>
<td colspan="3"><input type="submit" value="提交" /></td>
</tr></form>
</table>
</body>
</html>
-----------------------------------------------------分割线----------------------------------------------------
deal.asp的页面
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%
username=request.Form("username")
password=request.Form("password")
age=request.Form("age")
birthplace=request.Form("birthplace")
resume_=request.Form("resume")
'获取提交过来的信息
%>
<%
response.Write("用户名:"&username&"</br>")
response.Write("密码:"&password&"</br>")
response.Write("年龄:"&age&"</br>")
response.Write("籍贯:"&birthplace&"</br>")
response.Write("个人说明:"&resume_&"</br>")
'输出显示信息
%>
-----------------------------------------------------分割线----------------------------------------------------
你的第二个要求我看不懂,
跳转到time.asp后显示打开show.html的时显示的时间。?????
2016年06月23日 04点06分 5
哇~~~谢谢~~~第二个我也没懂...
2016年06月23日 15点06分
1