帮忙看看,今天下午要交!!
sjzxj 2003-11-01 03:50:51 我想实现的功能是:用户在一个登陆框里输入用户名和密码。能登陆我的虚拟空间。
可我在登陆时,出现的是和FSO查看我的虚拟空间里的文件夹一样。也就是每个文件名排列到我的浏览器。我不想要这样的:我想要的是登陆后,看到的界面和我打开了一个文件夹一样!!(请问怎么实现!!)
<%
if not isempty(trim(request.Form("user"))) then
if not isempty(trim(request.Form("pass"))) then
dim url
url="ftp://"&request.Form("user")&":"&request.Form("pass")&"@61.65.168.192"
response.Redirect url
else
%>
<html>
<body>
<script language="JavaScript">
alter("你的密码不能为空!!!");
</script>
<%
response.Redirect "index.htm"
%>
</body>
</html>
<%
end if
else
%>
<html>
<body>
<script language="JavaScript">
alter("你的用户名不能为空!!!");
</script>
<%
response.Redirect "index.htm"
%>
</body>
</html>
<%
end if
%>