Starting With Codeiginiter

  • Download and extract codeigniter zip file where you want to start the project.
  • Create an .htaccess file with following content (for removing index.php)
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
  • Goto:-  application>core> (create a controller for having common mehods) – Optional
  • Create and test a function for testing that controller and function is working or not