if fileEXT<>".gif" and fileEXT<>".jpg" then
response.write "<font size=2>文件格式不正确 [ <a href=# onclick=history.go(-1)>重新上传</a> ]</font>"
response.end
end if
基本可以。但我认为还是有漏洞的,关键是服务器上控制好权限。
if fileEXT<>".gif" and fileEXT<>".jpg" then
response.write "<font size=2>文件格式不正确 [ <a href=# onclick=history.go(-1)>重新上传</a> ]</font>"
response.end
end if