how do i get a the pages url with php?
i want to echo the URL of the current page at the bottom of my printer friendly pages.
[code=php]echo '<a href="http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'].'">'; echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'].'</a>';[/code]
Help @Bahamut-Xero spread the word by sharing this article on Twitter...