asp 组建上传:
注册组件 regsvr32 e:/aspupload.dll
< HTML >
< BODY >
<%
Set Upload = Server.CreateObject( " Persits.Upload.1 " )
Count = Upload.Save( " \ " )
%>
<% = Count %> files uploaded.
</ BODY >
</ HTML >
< HTML >
< BODY BGCOLOR ="#FFFFFF" >
< FORM METHOD ="POST" ENCTYPE ="multipart/form-data" ACTION ="3.asp" >
< INPUT TYPE =FILE SIZE =60 NAME ="FILE1" >< BR >
< INPUT TYPE =FILE SIZE =60 NAME ="FILE2" >< BR >
< INPUT TYPE =FILE SIZE =60 NAME ="FILE3" >< BR >
< INPUT TYPE =SUBMIT VALUE ="Upload!" >
</ FORM >
</ BODY >
</ HTML >
< HTML >
< BODY >
<%
Set Upload = Server.CreateObject( " Persits.Upload.1 " )
Count = Upload.Save( " \ " )
%>
<% = Count %> files uploaded.
</ BODY >
</ HTML >
< HTML >
< BODY BGCOLOR ="#FFFFFF" >
< FORM METHOD ="POST" ENCTYPE ="multipart/form-data" ACTION ="3.asp" >
< INPUT TYPE =FILE SIZE =60 NAME ="FILE1" >< BR >
< INPUT TYPE =FILE SIZE =60 NAME ="FILE2" >< BR >
< INPUT TYPE =FILE SIZE =60 NAME ="FILE3" >< BR >
< INPUT TYPE =SUBMIT VALUE ="Upload!" >
</ FORM >
</ BODY >
</ HTML >