asp及php的url跳转代码实现
php语言环境下的跳转
1 2 3 4 | <?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.vps12.com/"); ?> |
asp语言环境下的跳转
1 2 3 4 5 6 | <%@ Language=VBScript %> <% Response.Status="301 Moved Permanently" Response.AddHeader "Location", " http://www.vps12.com/" Response.End %> |
» vps12.com:http://www.vps12.com
» 转载请注明来源:运维部落 » 《asp及php的url跳转代码实现》