To remove index.php from URL in codeigniter, we create ".htaccess" and place it in root directory of codeigniter.
RewriteEngine on RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L]
Sample file structure given below.
Note:In mycase CodeIgniterFolder is main folder.
you do not need to load constants anywhere,they are automatically loaded by CodeIgniter.
CodeIgniter is PHP Open Source php MVC framework that can help us to speed up the development of our web applications.
Codeigniter Helpers,as the name suggests help us to do task.CodeIgniter helper file is simply a collection of functions of particular category.