From Joomla! Documentation
Revision as of 04:25, 17 September 2008 by Chris Davenport
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