You can get that directly in Controller using the below code
$requestUri = $this->getRequest()->getServer('HTTP_REFERER');
If you want to get that outside of Controller you can use the Zend Front Contorller class
$requestUri = Zend_Controller_Front::getInstance()->getRequest()->getRequestUri();
$requestUri = $this->getRequest()->getServer('HTTP_REFERER');
If you want to get that outside of Controller you can use the Zend Front Contorller class
$requestUri = Zend_Controller_Front::getInstance()->getRequest()->getRequestUri();