Codeigniter

How to Remove index.php from Codeigniter urls

By default Codeigniter urls are generated with index.php in url like http://example.com/index.php/welcome/index read more >>

No Input File Specified Codeigniter Problem

If you are facing problem/error "no input file specified." in Codeigniter, here is a quick fix for that: Open .htaccess file in your favorite code editor and add ? (question Mark) after index.php in line which says: RewriteRule ^(.*)$ /index.php/$1 [L] your file should look like/similar as below after changes: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L] It is a well known issue with some of web hosting servers for example Hostgator India and GoDaddy read more >>

Non Well Formed Numeric Value Encountered in PHP Date

If you get "non well formed numeric value encountered" error in PHP while using date() function to save into MYSQL database, use strtotime() function to correct this: $my_date = '20-12-2015'; echo date('Y-m-d', strtotime($my_date)); will output: 2015-12-20 which can be saved into MYSQL. read more >>

CodeIgniter and Eclipse Autocomplete

Today I was struggling to configure CodeIgniter in Eclipse PDT to support auto-complete and I ended up with a solution after searching a lot on the web. Here it is: CodeIgniter and Eclipse Autocomplete. It's really awesome. read more >>