无效的过程调用或参数: 'leftb'
response.buffer=true
formsize=request.totalbytes
formdata=request.binaryread(formsize)
bncrlf=chrb(13) & chrb(10)
divider=leftb(formdata,clng(instrb(formdata,bncrlf))-1) /////11行
datastart=instrb(formdata,bncrlf & bncrlf)+4
dataend=instrb(datastart+1,formdata,divider)-datastart
mydata=midb(formdata,datastart,dataend)
set conn=server.createobject( "ADODB.connection ")
conn.open "PROVIDER=SQLOLEDB.1;DATA SOURCE=218.244.136.24;User ID=cn07140;Password=e2b1e8h0;DATABASE=cn07140_db "
set rec=server.createobject( "adodb.recordset ")
rec.open "select * from images where id is null ",conngraph,1,3
rec.addnew
rec( "img ").appendchunk mydata
rec.update
rec.close
set rec=nothing
set conngraph=nothing
%>
从网上下的一段代码,提示 第 11 行
无效的过程调用或参数: 'leftb '
请高手指点
[解决办法]
如果还错的话 leftb应该是这个程序作者写的一个函数/过程