如何取得上一页的地址?

1<a href="2.php">test</a>
1   
2//2.php   
3echo $_SERVER['HTTP_REFERER'];   

--------------------------------
GET过去用$_SERVER['HTTP_REFERER'];

Published At
Categories with Web编程
Tagged with
comments powered by Disqus