新微赢技术网

标题: 编译中出现无效字符的错误 [打印本页]

作者: 地上跑    时间: 2010-1-19 04:04
标题: 编译中出现无效字符的错误
错误类型:
Microsoft VBScript 编译器错误 (0x800A0408)
无效字符

<%
session("username")=request.form("username")
session("usercolor")=request.form("usercolor")
session("userfig")=request.form("userfig")
if session("username")="" then
response.write "很抱歉,你尚未登录,无法进入聊天室!"
response.end
end if
application.lock
for i=21 to 2 step -1
j=i-1
application("msg"&i)=application("msg"&j)
next
strhour=hour(time())
if len(strhour)=1 then strhou="0" & strhour
strminute=minute(time())
if len(strminute)=1 then strminute="0" & strminute
strtime="<" & strhour & ":" & strminute & ">&nbsp;"
strtmp="<font color='" & session("usercolor") & "'>" &"大家好,我是"& session("username") & ",请多多指教! " & strtime & " </font>"
application("msg1")=strtmp
application.unlock
%>
<html>
<head>
<title>聊天室</title>
</head>
<framest rows="56,*,101">
<frame name="top" noresize scrolling="no" src="userinfo.asp?logout="no">
<framest cols="160,*">
<frame name="lmiddle" noresize src="userlist.asp?username=<%= session("username") %>">
<frame name="rmiddle" noresize src="chatlist.asp">
</framest>
<frame name="bottom" noresize scrolling="no" src="inputmsg.asp">
</framest>
</html>

是红色部分出错,请问哪个是无效字符?
作者: 车头灯    时间: 2010-3-2 18:05
太有才了!




欢迎光临 新微赢技术网 (http://bbs.weiying.cn/) Powered by Discuz! X3.2