如何用PHP获得当前网页的URL

不知道用PHP行不行阿,或者用JSP

谢谢
---------------------------------------------------------------

1   
2echo 'http://'.$_SERVER['SERVER_NAME'].':'.$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];   
Published At
Categories with Web编程
Tagged with
comments powered by Disqus