Magento core url helper allows you to get current url.
To get current url in magento you just need one line of code as below:
ref: public function getCurrentUrl()
$magentoCurrentUrl = Mage::helper('core/url')->getCurrentUrl();
Magento core url helper allows you to get current url.
To get current url in magento you just need one line of code as below:
ref: public function getCurrentUrl()
$magentoCurrentUrl = Mage::helper('core/url')->getCurrentUrl();