📄 checkinput.asp
字号:
<%
sub checkinput(inputvalue)
dim temp,i
dim ErrorCharacter(100)
for i=1 to 45
ErrorCharacter(i)=chr(i)
next
temp=i-1
for i=59 to 63
temp=temp+1
ErrorCharacter(temp)=chr(i)
next
for i=91 to 96
temp=temp+1
ErrorCharacter(temp)=chr(i)
next
for i=123 to 128
temp=temp+1
ErrorCharacter(temp)=chr(i)
next
for i=1 to temp
if instr(1,inputvalue,errorcharacter(i))>0 then
response.redirect("error.asp?err=2")
end if
next
end sub
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -