相思资源网 Design By www.200059.com
HTML格式的Form表单文件FOLDER.htm的内容:

<form name="form1" method="post" action="folder-action.asp">
Create a folder
<input type="text" name="name">
<input type="submit" name="Submit" value="Submit">
</form>

ASP文件FOLDER-ACTION.ASP

<%@ LANGUAGE = "VBScript" %>
<% Dim Name
Name = Request("Name")
set fs=createobject("scripting.filesystemobject")
MyFolder=server.mappath(""&name&"")
If NOT fs.folderexists(MyFolder) then
fs.createfolder(MyFolder)
End If
If fs.folderexists(MyFolder) then
%> Folder created successfully! Called
<%=MyFolder%>


<%Else%%>
There has been an error.
<%End If
%>

也可以下载zip文件,在http://designbliss.com.au/asp/download.asp?file=folder.zip

标签:
|在线|线用|用表|表单|单建|建立|立文|文件|件夹|夹|

相思资源网 Design By www.200059.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
相思资源网 Design By www.200059.com

评论“在线用表单建立文件夹”

暂无在线用表单建立文件夹的评论...