references:joomla.framework:environment:juri-gethostgetHost
Gets the URI host. This function returns the hostname/ip, or null if no hostname/ip was specified. Syntaxstring getHost () ExamplesExample $uri = new JURI( 'http://forum.joomla.org/index.php/topic,41464.msg227819.html#msg227819' ); echo "Host: " . $uri->getHost(); might produce: Result Host: forum.joomla.org |


