JURI/current
From Joomla! Documentation
< JURI
A static method that returns the current request URI without the query or fragment parts.
Syntax
string current()
Example
echo 'Joomla current URI is ' . JURI::current() . "\n";
might output
Joomla current URI is http://localhost/joomla/index.php
