How to get the Base URL using the Joomla! 1.5 API

Within the PHP code type in the following command

echo JURI::base();

This is a static method that returns the base URI of your Joomla site.

To read more about it click here

Image Credits: Photo by Isis França on Unsplash.

More Similar Posts

No results found.