www.gusucode.com > WapEditFile手机WAP文件管理器源码 > wap_uploadindex.asp

    <%Response.Buffer=FALSE%>

<!--#include file="wap_verify.asp"-->

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-cache" />
<title>上传文件</title>
</head>
<body>

<%
response.write "<br><a href='wap_all.asp'>管理首页</a>-<a href='wap_logout.asp'>退出</a>"

FolderPath=trim(request("FolderPath"))
if FolderPath="" then FolderPath="ceshi/" end if

Response.Write "<form name='form1' method='post' action='wap_upload.asp' enctype='multipart/form-data'>"
Response.Write "(建议文件不要超过1M,否则可能上传失败;上传过程中请不要离开本页)<br>"
Response.Write "上传到(相对路径):<input type='text' name='filepath' value='"&FolderPath&"'>*必填,若为空则默认上传到ceshi文件夹<br>"
Response.Write "<input type='file' name='file1'><br>"
Response.Write "<input type='submit' name='submit' value='确认上传GO'>"
Response.Write "</form>"
Response.Write "<br>说明:"
Response.Write "<br>*目前仅能上传名称不含有中文的文件,如“ceshi.gif”能上传,“测试.gif”不能上传"

response.write "<br><a href='wap_all.asp'>管理首页</a>-<a href='wap_logout.asp'>退出</a>"
%>

</body>
</html>