请问要IIS可以运行vbscript和javascript,要在window那个目录下安装什么啊?忘记了

dongdd 2003-08-20 02:58:38
具体是windows的哪个目录下装些什么?!麻烦帮忙!
...全文
70 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
dongdd 2003-08-21
  • 打赏
  • 举报
回复
多谢提醒!终于可以运行了,其实是另外一个调用了的asp文件有错而已。
lh1012 2003-08-21
  • 打赏
  • 举报
回复
第一句<%@LANGUAGE="VBSCRIPT"> 后面少了%

应为<%@LANGUAGE="VBSCRIPT"%>
ceocio 2003-08-21
  • 打赏
  • 举报
回复
不需要装任何东西,就是直接打开文件也可以执行的。

---------------------------------
Welcome to My WebSite:
http://www.ceocio.net
---------------------------------
jerrycool 2003-08-21
  • 打赏
  • 举报
回复
你的表单提交到什么地方去了啊???表单名呢????
表页面显示的相应内容是据表单而定的吗??
可能代码写的有问题。
dongdd 2003-08-20
  • 打赏
  • 举报
回复
不是这个问题!改了后还是报一样的错呀!给不出:(
freetaiger 2003-08-20
  • 打赏
  • 举报
回复
原因很简单,因为你的代码有错误,
"flag=3"中的"="是中文的
接分
sunyc 2003-08-20
  • 打赏
  • 举报
回复
跟vbscript没关系。你自己的asp代码写的有问题。
顺便说一句你写的不是脚本,是asp代码。装IIS就可以了。
dongdd 2003-08-20
  • 打赏
  • 举报
回复
报错了!具体错误如下:

Active Server Pages 错误 'ASP 0221'

无效 @ Command 原语

/mytest.asp,行3

指定的 'dim user dim flag dim pwd dim say response.Buffer=true response.ContentType="text/HTML" response.Charset="gb2312" user=request.Form("username") pwd=request.Form("password") say=request.QueryString("say") ' 选项未知或无效。
flygoocn 2003-08-20
  • 打赏
  • 举报
回复
有iis就可以了
freetaiger 2003-08-20
  • 打赏
  • 举报
回复
我看了一下,你的问题很好搞订,先接分
byybyybyy 2003-08-20
  • 打赏
  • 举报
回复
你已经用了 asp,装好iis一切搞定了
dongdd 2003-08-20
  • 打赏
  • 举报
回复
<%@LANGUAGE="VBSCRIPT">
<%
dim user
dim flag
dim pwd
dim say
response.Buffer=true
response.ContentType="text/HTML"
response.Charset="gb2312"
user=request.Form("username")
pwd=request.Form("password")
say=request.QueryString("say")
%>
<form method="post" action="mytest.asp">
<p>
用户名:<input type="text" name="username" size="12"><br>
你的密码:<input type="password" name="password" size="12"><br>
<input type="submit" value="提交" name="B1">
<input type="reset" value="重写" name="B2"></p>
</form>
<%
if say=1 then
response.Write"欢迎你首次进入本站!"
end if
if say>1 then
response.Write"欢迎你再次光临本站!"
end if
if user="aa" and pwd="aa" then
response.Expires=1
flag=1
elseif user="guset" and pwd="guset" then
response.Expires=0
response.Clear()
flag=2
elseif user="vip" and pwd="vip" then
response.Write"贵宾"
flag=3
else
flag=0
response.End()
end if
response.Write"<p><a href='mytestb.asp?flag="&flag&"'>好好</a></p>"
%>
<p> 好好</p>

那为啥这段程序会运行不了的啊?
lions911 2003-08-20
  • 打赏
  • 举报
回复
什么也不用安装,只要有IIS就够了,在说,VBSCRIPT与JAVASCRIPT直接IE就可以解释了,连IIS都不用,IIS是用来解释ASP的。

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧