Codeigniter Code Completion facility by using netbeans IDE

Just write the below portion before the controller class

* @property CI_Loader $load
* @property CI_Form_validation $form_validation
* @property CI_Input $input
* @property CI_Email $email
* @property CI_DB_active_record $db
* @property CI_DB_forge $dbforge
* @property CI_Table $table
* @property CI_Session $session
* @property CI_FTP $ftp
* ….


CodeIgnite htaccess…

Those who want to work on codeigniter may have face some problems when you want change the default url pattern. It’s a problem, But don’t worry  only a couple of lines code will solve that problem.

Just create a .htaccess file in your codeigniter root directory and then simply paste the code.

RewriteEngine on
RewriteCond $1 !^(index.php|resources|robots.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]