但是输入框只能得到要上传的图片的路径!却不能实现上传功能!
那位大哥帮帮忙啊!
<!--#include file ="set.asp"-->
<!--#include file ="articlechar.inc"-->
<%
response.buffer=true
formsize=request.totalbytes
formdata=request.binaryread(formsize)
bncrlf=chrB(13) & chrB(10)
divider=leftB(formdata,clng(instrb(formdata,bncrlf))-1)
datastart=instrb(formdata,bncrlf & bncrlf)+4
dataend=instrb(datastart+1,formdata,divider)-datastart
mydata=midb(formdata,datastart,dataend)
set rst=server.createobject("ADODB.rstordset")
rst.Open "SELECT * FROM paper where P_link is null",cnn,1,3
rst("P_link")=rst("P_link")+1
rst.addnew
rst("img").appendchunk mydata
rst.update
rst.close
set rst=nothing
set cnn=nothing
response.Redirect"admin_paper_pic_confirm.asp"
%>
这是我的源代码!?
大哥可以帮忙改改吗!?
或者送小弟一份新的可以吗!?