asp 缺少对象问题??
fileformat=mid(file.FileName,InStr(file.FileName,".")+1)
if fileformat<>".jpg" or fileformat<>".gif" then
response.write"<script>alert('文件格式不对,请重新上传!');location='"&request.ServerVariables("HTTP_REFERER")&"'</script>"
response.end
end if
提示:错误类型:
Microsoft VBScript 运行时错误 (0x800A01A8)
缺少对象: ''
fileformat=mid(file.FileName,InStr(file.FileName,".")+1) ????