求一个上传下载的ASP源码
来源:百度知道 编辑:UC知道 时间:2024/05/01 14:00:00
我试过许多了,自己先看下
用无组件上传吗?给你两个页面用一用
先保存以下这段为“1.asp”:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<script language="javascript">
function upup()
{
var returnTarget=window.showModalDialog("2.asp?action=up","","dialogWidth:300px;dialogHeight:150px;scroll:no;status:no");
if(returnTarget!=undefined && returnTarget.length>1)
{
proform.imgtxt.value=returnTarget;
}
return false;
}
</script>
<body>
<form action="" method="get" name="proform" id="proform">
<label>
<input name="imgtxt" type="text" id="imgtxt">