一聚教程网:一个值得你收藏的教程网站

热门教程

w3 upload组件实例应用1

时间:2022-06-30 09:35:45 编辑:袖梨 来源:一聚教程网

文件1 - Upload.asp


w3 Upload


用w3 upload组件上传



Choose a name:





文件2 - UploadProcess.asp
<% @ LANGUAGE="VBSCRIPT" %>
<%
Set upload = Server.CreateObject( "w3.upload" )
actualName = upload.Form( "name" )
Set fileName = upload.Form( "thefile" )
if fileName.IsFile then
fileName.SaveToFile( Request.ServerVariables( "APPL_PHYSICAL_PATH" ) & "" & actualName )
end if
%>


w3 Upload







Finished!









热门栏目