-- Download How to create login module using Codeigniter as PDF --
In this Tutorial we are going to learn How to create login modules?
What is login modules?:
The Login Module is a portal module that allows users to enter a UserName and Password to log in . After successful login user have to access that system . It is an integral part of application security procedures.
Why we use login modules? What is the purpose?:
Logging in is usually used to enter a specific page, which trespassers cannot see.The process of logging in creates a session (i.e., a period of use), also called as a login session, for the user on the target system. That user is referred to as the owner of that session.
When someone logs into an ordinary user account on an application that person receives access to only a limited set of Functionalities . When someone logs into the administrator account, that person acquires access to all files and Functionalities of the system.
Login modules will let you maintain a database of users that can access a particular access and its functionality.
Prerequisites:
Process:
1.clone github repository of previous project
i) First download Github application for windows
Click on below url for downloading Github application
ii) Open Github application and follow below steps please see below link
2.Copy the clone project from your clone repository path into your localhost
For copying project follow below steps
3.Go to Your localhost Project Folder
4.
i) Go inside application Folder
In that folder you can see “config”,“controller”,”model”,”libraries”,”views” folder
a).Go inside “config” folder
After that open “config.php” file and “database.php” file in editor and
Change “base_url” .
b).If you have not created database yet then please create it in phpmyadmin
After creating database please download basic database file on below link
https://s3.amazonaws.com/elcodelibraryessentials/Database/ion_auth_db.sql
After that open your database and import downloaded database file
After that change database in database file
5.Run your file in browser that is “http://{Domain-name}/{Directory-name}/index.php”
for login you can use below default credentials ,
username:shailesh@sitestrokes.com
password: 123456
Testing or What can go wrong?
Sometimes we have missed “step 4” that is changes in “config.php” and “database.php” files.






