一直在进行探索,今天看到一段代码,要求是达到了,不过有个要求

文件名为1.asp

代码为:<%
BlogHost="http://"  & Request.ServerVariables("HTTP_HOST") & Replace(Request.ServerVariables("PATH_INFO"),"1.asp","")
response.Write(BlogHost)
%> 

相信都能看懂。

确实是比较好的方法。昨天还发BLOG提到了,今天就看到了代码