站长都知道是干什么的了 ...
ASP:
- Response.Status="301 Moved Permanently"
- Response.AddHeader "Location", "http://www.teched.cn/"
- Response.End
PHP:
- header("HTTP/1.1 301 Moved Permanently");
- header("Location:http://www.teched.cn/);
- exit();
ASP.NET:
- <script runat="server">
- private void Page_Load(object sender, System.EventArgs e)
- {
- Response.Status = "301 Moved Permanently";
- Response.AddHeader("Location","http://www.teched.cn/);
- }
- </script>

著作权与商标声明 | 法律声明 | 服务条款 | 联系我们 | 专业术语
Copyright 2006-2010 designblog.com.cn. Rights Reserved.
京ICP备09037321号