还是图片上传问题??在线??
我的图片上传程序,首先上传<input type=file>到数据库,库中photo字段存的是
文件路径,如:c:\photo\1.gif,然后用
set objfile=server.CreateObject("scripting.filesystemobject")
dim strpath
strpath=server.MapPath("../guanggao/photo1/")
strpath=strpath&request.Form("code")&".gif" //code为要栲成的文件名1
if request.Form("photo")<>"" then
objfile.CopyFile request.Form("photo"),strpath,true
end if
将本地既数据库中request.Form("photo")路径的文件copy到 strpath(网上)路径上
此程序在本地iis上正常,传到网上总说
objfile.CopyFile request.Form"photo"),strpath,true
中路径未找到,
是网上不让copy文件,还是路径不对????
help me????