asp中实现重定向是用response.redirect 函数: 用法一例: response.redirect "../test.asp" php中也有类似函数:header 用法一例: header("location:../test.php"); 但是两者是有区别的. asp的redirect函数可以在向客户发送头文件后起作用. 如 <html><head></head><body> <%response.redirect "../test.asp"%> </body></html> 查是php中下例代码会报错: <html><head></head><body> <? header("location:../test.php"); ?> </body></html> 只能这样: <? header("location:../test.php"); ?> <htm...