CodeIgniter get site url

0

How to get site url of the codeigniter.You can use this method in the controller,model and view files.

First, you have to call this URL Helper file.

Also you can use following script to get site url in view files.

Share.

About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.