dnf鬼剑士55史诗武器:请asp高手帮我修改一下这个

来源:百度文库 编辑:神马品牌网 时间:2024/04/28 00:52:38
<%
id=Request.QueryString("id")
if id="" then
response.write "<meta http equiv='refresh'content='0;URL=http://123.com/?id=用户ID'> "
response.end
else
%>
内容
<%
end if
%>

这个代码的访问地址是用http://www.123.com/?id=用户ID
我想要成为http://www.vc11.com/?用户ID

请问以上的代码如何修改呢 谢谢高手

思路:
第一步:A=request.servervariables("path_info") 取出页面的地址内容
第二步:用instr方法取出“?”后的内容
不知道行不行……