Actions

JURI/current

Other languages:
English 100% • ‎español 100% • ‎français 100% • ‎Nederlands 100%

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

See also

Advertisement