填空题

阅读以下说明,回答下列问题。
[说明]
某论坛的首页及留言页面如图1、图2所示。


图1


图2
在论坛首页中有访客计数器,访客计数存放在系统coun文件夹的counter.txt中,请补充完成下面计数器部分的代码。

<%
dim visitors
______=server.mappath("coun/counter.txt")
set fs=______.createobject("Scripting.FileSystemObject")
set thisfile=fs.opentextfile(whichfile)
visitors=thisfile.______
thisfile.close
countlen=len(visitors)
for i=1 to 5-countlen
response.write"<img src=counter/0.gif>"
next
for i=1 to countlen
response.write"<img src=counter/"&mid(visitors,I,1)&".gif></img>"
next
visitors=______+1
set out=fs.createtextfile(whichfile)
out.writeline(visitots)
out.close
set fs=nothing
%>

A.counter B.server C.request
D.whichfile E.readline F.visitors

【参考答案】

whichfile
server
readline
visitors
热门 试题

填空题
该系统用户登录界面文件名为login.asp,用户输入的数据由check.asp文件判断。下面是login.asp的部分代码,请根据题目说明,补充完成。 <html xmlns= http: www.w3.org 1999 xhtml > <head> <title>查询系统< title> <script.language= JavaScript > <!-- ______chk(theForm) { if(theForm.admin_name.value == ) {alert( 请输入管理账号! ); theForm.admin_name.focus(); return (false); } if(theForm.admin_pass.value == ) {alert( 请输入管理密码! );theForm.admin_pass.focus(); return (false);} retum______; --> < Script> < head> <body> <table cellSpacing=l ceIIPadding=5 width=460 border=0> <FORM.action= ______ action=login method=post nSubmit= return chk(this) > <tbody>... <tr> <td align=right width=60 height=30>用户名:< td> <td height 30><input type=______name=admin name>< td>< tr> <tr> <td alignrightheight 30>密 码:< td> <td height 30><input type=______name=admin pass>< td>< tr> <tr> <td align=right>验证码:< td> <td> <input maxLength=4 name=VerifyCode><img src= yz.asp bordeF’0’onClick this.src=’yz.asp’ alt=’ 点刷新验证码’ >< td>< tr> <tr align middle><td colSpan=2 height=40><input type=______value= 提交 > <input class=btntype= ______ value= 取消 >< td>... < body> < html> A.password B.reset C.check.asp D.true E.text F.submit G.function