Tagged: codeIgniter


How to get controller name and method name in codeigniter?

Get controller name and method name. CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications. Following codeigniter...


How to remove index.php from CI URL?

Open application/config/config.php file. Find following statement in this file. $config[‘index_page’] = ‘index.php’; And remove index.php from above statement, this will look like following. $config[‘index_page’] = ”; Create .htaccess file in application directory and paste...