www.gusucode.com > cso中国seo优化html整站源码程序 > manage/upload.asp
<!--#include file="../include/config.asp"--> <% uppath = request("uppath")&"/" '文件上传路径 filelx = request("filelx") '文件上传类型 formName = request("formName") '回传到上页面编辑框所在Form的Name EditName = request("EditName") '回传到上页面编辑框的Name %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>图片上传</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <link href="/style/<%=config_skin%>/admin.css" rel="stylesheet" rev="stylesheet" type="text/css" /> <script language="javascript"> function mysub(){ esave.style.visibility = "visible"; } </script> </head> <body style="margin:5px;overflow:hidden;"> <form name="form1" method="post" action="upfile.asp" enctype="multipart/form-data" > <input type="hidden" name="filepath" value="<%=uppath%>"> <input type="hidden" name="filelx" value="<%=filelx%>"> <input type="hidden" name="EditName" value="<%=EditName%>"> <input type="hidden" name="FormName" value="<%=formName%>"> <input type="hidden" name="act" value="uploadfile"> <div id="esave" style="position:absolute; top:18px; left:40px; z-index:10; visibility:hidden"> <table width="340" border="0" align="center"> <tr> <td width="10%"></td> <td bgcolor="#ff0000" width="80%"> <table width="100%" height=60 border=0 cellspacing=1 cellpadding=0> <tr><td bgcolor="#ffffff" align=center>正在上传文件,请稍候...</td></tr> </table> </td> <td width=10%></td> </tr> </table> </div> <table cellspacing="1"> <thead><tr><th>图片上传</th></tr></thead> <tbody><tr><td align="center" height="30"><input type="file" name="file1" size="40"></td></tr></tbody> <tbody><tr><td align="center"><input type="submit" value="开始上传" class="button" onClick="javascript:mysub()"></td></tr></tbody> </table> </form> </body> </html>