我想把下面的ASP代码改下,大家帮帮忙啊
来源:百度知道 编辑:UC知道 时间:2024/06/05 22:50:38
if user like ".asp" then
response.write"<script>alert('尊敬的用户请勿非法注册本站会员!!!\n\n·黑龙江包装网欢迎您');history.go(-1)</script>"
response.end
end if
代码如上,我想改成接收过来的uers里如果含有.asp那么就弹出提示并返回上页,这样对吗?哪为兄弟帮帮忙
response.write"<script>alert('尊敬的用户请勿非法注册本站会员!!!\n\n·黑龙江包装网欢迎您');history.go(-1)</script>"
response.end
end if
代码如上,我想改成接收过来的uers里如果含有.asp那么就弹出提示并返回上页,这样对吗?哪为兄弟帮帮忙
dim user
user = request("user")
if instr(user,".asp")>0 then
response.write"<script>alert('尊敬的用户请勿非法注册本站会员!!!\n\n·黑龙江包装网欢迎您');history.go(-1)</script>"
response.end
end if
if instr(user,".asp") > 0 then