求改一个ASP小程序加上传功能和下载功能。。
文件:folder.inc
HTML code:
<%
Dim folderini,pos,pageName
fPath = Request.ServerVariables("PATH_TRANSLATED")
pos = instrRev(fPath,"\")
folderini = Left(fPath,pos)+"Upfile"
%>
文件:index.asp
HTML code:
<!--#Include file="folder.inc"-->
<html>
<head>
<title>FileSearch</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<frameset rows="80,*" frameborder="1" border="1" framespacing="1" cols="*">
<frame name="topFrame" scrolling="NO" src="up.asp" >
<frame name="mainFrame" src="getinfo.asp?foldinfo=<%=folderini%>">
</frameset>
<noframes><body bgcolor="#FFFFFF">
</body></noframes>
</html>
文件:up.asp
HTML code:
<!--#Include file="folder.inc"-->
<html><title>Up</title>
<head>
<style type="text/cs
相关问答:
<%On Error Resume Next
Set conn=Server.CreateObject("ADODB.Connection")
conn.begintrans
conn.Open ("Driver={SQL Server};server=(local);uid=sa;database=student;pwd=")
......
<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......
A服务器(www.XXX.com)
Response.Cookies("aa") = "bbbbbbb"
Response.Cookies("aa").domain = "XXX.com"
B服务器(www1.XXX.com)
Response.Write Reque ......
问个问题,我的一个网站能上传文件,我把网站目录考到同一台电脑的另一个目录下,然后在复制过来的目录上新建了一个网站,程序文件没动(相关路径的设置已经改了,不是路径问题),但是新网站不能上传文件,我网上查了 ......
我在asp页面做了一个从1开始往上累加的东西,为什么每次点击按钮时数值都不往上加。
不知道什么原因,请教高手!
看看你的代码啊
int a=0;
a++;
txtBox.text=a.toString();
......