Login and Registration System in PHP and MySQL

Login and Registration System in PHP and MySQL

This Login and Registration System in PHP and MySQL allows the user to access the user by validating their email and password.

The application includes a verification system, sent email with validation code.

The user has a verified status and an unverified user, if the user has not been verified, when accessing, they are asked to enter a verification code, which is sent to the email address entered.

The software includes the option of encryption with the function password_hash In addition, a random numerical code is entered into the encrypted password, reinforcing the security of the application.

Commissioning of the Login and Registration System in PHP and MySQL

The application is completely free, the code is fully shared, as usual with the database code included in the post

Previous Applications

To install the application on a local server, I recommend the prior installation of the following applications:

XAMPPGitVisual Studio Code

XAMPP is the application in charge of implementing a apache server for them to work scripts PHP on a local computer.

Git is the world's most widely used repository manager, with which you can cleanly download code from GitHub.

Visual Studio Code is the world's most popular code editor, which I highly recommend in virtually every post on this blog.

Download GitHub App

The following is the GitHub repository download link for the Free Rating System app on a local server:

Login and Registration System in PHP and MySQL

Configuration of the Login and Registration System in PHP and MySQL for its operation on your computer

You must install the mentioned applications, with all the default parameters, after this procedure, from Visual Studio Code, you must open the following location:


From this location in Visual Studio Code, click View, Terminal. Inside the Terminal you choose the Git Bash option and copy the following code:

git clone https://github.com/configuroweb/login-registro.git

The folder will be created login-registro, inside the htdocs folder. Next, you must open XAMPP on your computer, activate the Apache and MySQL services, and access the following URL, to create the store-mail database:


Login and Registration System Database

For the application to work correctly, from phpmyadmin, you must create the database with the name login-registro, then you must access the SQL section and paste the code found in the following link:

Login and Registration System in PHP and MySQL

Upload of the Login and Registration System in PHP and MySQL to a hosting

Due to the simplicity of the application, I will not address the issue directly, in the following related video (spanish), I explain the process at a general level:

Upload page with PHP + Database (MYSQL) to a Hosting

If you still have doubts about the process of setting up the application on a local server You can still see in the following publication in more detail the implementation of PHP applications:

How to Install PHP Applications on a Local Server

Any questions I remain pending, if you require more PHP applications, in Python or JavaScript I recommend you subscribe to my content on Youtube and be on the lookout for any changes, that I make.

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *