How to get Current page url in magento

How to get Current page url in magento

get Current page url in magento is so easy.You can get lots of solution in differnet site.But this one is the sort and best solution for getting Current page url.

<?php
echo $currUrl= $this->getUrl('').$_SERVER['REQUEST_URI'];
?>

You can also use the folllowing magento features to get current page Url.

echo $this->helper('core/url')->getCurrentUrl();
DOWNLOAD SOLUTION HERE