Skip to main content

Secure Login System using CodeIgniter with Source Code

Language

Hi! This is a Secure Login System Project using PHP CodeIgniter Framework. This system can help you in your future CodeIgniter Project that needs security. This Login System has a secure login/authentication feature by hashing/encrypting the users' passwords. This Login System has also some features that are related to login functionalities such as registration and reset the password. Download the source code and learn from it.

Features

  • Login Form
  • Registration Form
  • Forgot Password
  • Reset Password
  • Remember Me
  • Sample Dashboard
  • User List

Note: Forget password feature is not yet programmed to send a mail.

Libraries/Plugins used

  • AdminLTE Template
  • Bootstrap

How to Run

Requirements:

  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)

Installation/Setup

  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file. Note the extracted folder must be named as "Project2017".
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "db_project2017".
  6. Import the provided SQL file. The file is known as "db_project2017.sql" located inside the "database" folder.
  7. Browse the Secure Login System Project in a browser. i.e. http://localhost/Project2017

Admin Access:

account: [email protected]
password: password

DEMO

For the reset password, go to the database and on the users' table, copy the forgotten_password_code of the user you want to reset. Then, browse http://localhost/Project2017/index.php/auth/reset_password/{forgotten_pasword_code_here} (Curly brackets are not included). Note that the forgotten_password_code will only exist for the user data if you have already processed the user to the forgot password feature.

I hope this system will guide you and this will be useful without any warranty.

For updates and questions just follow me and message me on Facebook: https://www.facebook.com/michael.galanza or send me an email to [email protected] Thanks.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment