Microsoft VBScript 运行时错误 错误 '800a0005'
无效的过程调用或参数: 'chr'
/service/upload.inc,行 75
upload.inc代码:66——82
Private Function subString(theStart,theLen)
dim i,c,stemp
upfile_5xSoft_Stream.Position=theStart-1
stemp=""
for i=1 to theLen
if upfile_5xSoft_Stream.EOS then Exit for
c=ascB(upfile_5xSoft_Stream.Read(1))
If c > 127 Then
if upfile_5xSoft_Stream.EOS then Exit for
stemp=stemp&Chr(AscW(ChrB(AscB(upfile_5xSoft_Stream.Read(1)))&ChrB(c)))
i=i+1
else
stemp=stemp&Chr(c)
End If
Next
subString=stemp
End function
这个代码在一台服务器上测试正常,在另一台服务器上就出现这个提示
[
本帖最后由 红色雄鹰 于 2007-8-22 19:20 编辑 ]