I’ve recently wondered how I can get the full url address of a requested controller/action in Zend php framework.
After some tries I finally did it:
Here is how to achieve it:
$fullUrl = "http://". $this->getRequest()->getHttpHost() . $this->view->url();