JURI/getPass

From Joomla! Documentation

< JURI
Revision as of 21:59, 16 September 2008 by Chris Davenport (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Returns the password part of the URI represented by the JURI object.

Syntax

string getPass()

Example

$uri = 'http://fredbloggs:itsasecret@www.example.com:8080/path/to/Joomla/index.php?task=view&id=32#anchorthis';
$u =& JURI::getInstance( $uri );
echo 'Password is ' . $u->getPass();

would output

Password is itsasecret

See also

Personal tools