| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 534 人关注过本帖
标题:谁能帮我看下这段代码哪里出错了
取消只看楼主 加入收藏
dnsawind
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2012-7-21
结帖率:0
收藏
已结贴  问题点数:20 回复次数:1 
谁能帮我看下这段代码哪里出错了
oa里网络硬盘的上传
<!--#include file="../inc/NoCatch.asp"-->
<!--#include file="../inc/Secure.asp"-->
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/Const.asp"-->
<!--#include file="../inc/fun.asp" -->
<!--#include file="talk.asp" -->

<%FilePath=PathReplace(UrlDecoded(Request.QueryString("Path")))
if FilePath="" or isnull(FilePath) then NetDiskIsNot "netdisk.asp?ThisDir="&FilePath:FilePath="\" else NetDiskIsNot "netdisk.asp?ThisDir="&FilePath
%>
<title>文件上传</title>
<link rel=stylesheet type=text/css href="HX_Style.css">
<link rel=stylesheet type=text/css href="Css.css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>OnloadPage();</script></head>
<body>  
<table cellpadding='2' cellspacing='1' border='0' class='border' align=center>
<form name="form1" method="post" action="upprocess.asp?path=<%=FilePath%>" enctype="multipart/form-data" >
<tr class="title"> <input type="hidden" name="action" value="uploadfile">
  <td> 文件上传</font></td>
    </tr>
    <tr class="titletdbg">
      <td>
        <script language="javascript">
                                                                                                                                                                                                                                                                                                                  
      </script>
         上传个数:
          <input type="text" autocomplete=off name="upcount" class="tx" value="1" onKeyDown="if(window.event.keyCode==13) {setid();return false}">
          <input type="button" name="Button" class="button" onClick="setid();" value=" 设 定 ">            </td>
    </tr>
    <tr class=titletdbg>
      <td>上 传 到:
           <input type="text" autocomplete=off name="filepath" class="tx" style="width:350" value="<%=FilePath%>"> </td>
    </tr>
    <tr class=titletdbg valign="middle">
      <td id="upid"> 文件1:
        <input type="file" name="file1" style="width:400" class="tx1" value="">      </td>
    </tr>

    <tr align="center" class=titletdbg>
      <td>
        <input type="submit" class="button" name="Submit" value=" 提 交 ">
        <input type="reset" class="button" name="Submit2" value=" 重 置 ">
        <input type="button" name="Submit2" value=" 返 回 " class="button" onClick="location.href='<%if Session("FileUpLoadPath")<>"" thenrite "netdisk.asp?ThisDir="&replace(FilePath,"\","/")%>';">      </td>
    </tr>    <tr class=titletdbg> response.Write "AllShareFolderList.asp?FID="&Session("FolderFileid")  else response.W
      <td>禁止上传:<font color=red>
      <%for ii=0 to ubound(Forumupload)
        response.write Forumupload(ii)&"、"
      next%></font></td>
    </tr></form></table></td>
    </tr>
  </table>
<script language="javascript">
setid();
</script>
</body>
</html>
搜索更多相关主题的帖子: 网络硬盘 include title 
2012-07-21 15:30
dnsawind
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2012-7-21
收藏
得分:0 
每次进入上传页面的时候微软的杀毒软件都会报毒 不知道哪里出问题了
2012-07-22 08:12
快速回复:谁能帮我看下这段代码哪里出错了
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.034558 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved