/ Published in: PHP
This script will return the URL for the current page you're on, including category and tag pages.
URL: http://dailypaste.wordpress.com/2008/10/26/php-get-current-url/
URL: http://dailypaste.wordpress.com/2008/10/26/php-get-current-url/