I want to get the previous page controller action name from previous page URL in Magento 1.9.
I get the previous page url by this:
Mage::app()->getRequest()->getServer('HTTP_REFERER');
Now I tried to get the controller name from page url.
My question is "How to get the controller action name from page url?"
Thanks.