How to create user/admin login in codeigniter

Let see how to create user login/Admin login page with session in codeIgnitor . CodeIgnitor based on MVC(Model View Controller),  and can be also modified to use Hierarchical Model View Controller  which allows developers to maintain modular grouping of Controller, Models and View arranged in a sub-directory format. I’m using here HMVC method in my example however it can be used in normal MVC method too. First download codeIgnitor from and extract zip file and copy all files and [...]


How to enable HMVC in Codeigniter Framework

HMVC is well known for Hierarchical model–view–controller. It’s a design pattern that will make CodeIgniter a modular MVC framework. Using HMVC you can divide your application by modules like categories, products, coupons, shipping in case of ecommerce website.  By dividing our work into modules we can apply new features without touching the others controllers that is not related to our new features. HMVC is also called widgetization because you can used any modules to another modules or views. The HMVC [...]