
Note: I just change some few lines of code of Auth.php under controllers folder like:

Open database.php under D:\xampp\htdocs\ci-ionauth-reg\application\config folder. Open config.php under D:\xampp\htdocs\ci-ionauth-reg\application\config folder. Choose the file named ion_auth.sql if you’re using MySQL as your database. Create a database name loginreg (short for login and registration).Ĭlick Import tab and browse the file located under D:\xampp\htdocs\ci-ionauth-reg\application\sql. Example, extract the folder under D:\xampp\htdocs\ci-ionauth-reg\assets or D:\xampp\htdocs\ci-ionauth-reg\bootstrap.īefore we configure CodeIgniter, first import the SQL file included with Ion Auth. You can choose to create another folder as long as it is relative to the path of the CodeIgniter file.

Extract the files under application folder.Example if you’re using XAMPP, extract it to D:\xampp\htdocs
SECURE LOGIN PHP MYSQL DOWNLOAD HOW TO
Here’s the instruction on how to setup CodeIgniter, Ion Auth and Bootstrap.

In addition, I use Bootstrap to improve the design of the form. I highly recommend using Ion Auth to secure the login form of your site as this is already tested and proven to prevent SQL Injection. This is a secure registration and login form created using CodeIgniter and Ion Auth.
