From Joomla! Documentation
Revision as of 10:32, 9 August 2012 by JoomlaWikiBot
A static method that returns the current request URI without the query or fragment parts.
echo 'Joomla current URI is ' . JURI::current() . "\n";
Joomla current URI is http://localhost/joomla/index.php