Skip to content

Login/Register System is an easy-to-use, open-source Website allowing you to easily login to your account or register a new one.

License

Notifications You must be signed in to change notification settings

HystericalBinky/Login-Register-System

Login-Register-System

📖Information

This Repository is a Login/Register System that can be used for a User to make an account. Made with HTML, CSS and PHP in Visual Studio Code using XAMPP.

Login/Register System is an easy-to-use, open-source Website allowing you to easily login to your account or register a new one. It requires minimal setup to be used, only requiring you to have Visual Studio Code, XAMPP and optionally Git to easily clone this project.

🛡️Security

I have ran all the files through VirusTotal to ensure you that there are no viruses injected into this application. You can always run these files in the project through VirusTotal again if you wish.

In addition, your web browser might scan the file before downloading, and if you have an anti-virus on your computer, it will most likely also scan the files for viruses. They will 100% come out negative with a small chance of a false positive, it is recommended to use VirusTotal as your most trusted source.

These regulations only apply for MY version, any modified versions from other people might contain viruses injected deliberetly.

⚙️Setup

📝Source Code/Visual Studio Code

  1. Open Visual Studio Code
  2. Clone the GitHub Repository
  3. Open XAMPP and Run Services
    • Open XAMPP as Administrator
    • Run the Modules: Apache and MySQL
  4. Create the Database
    • Go to: http://localhost/phpmyadmin/

    • Click the Databases tab at the top

    • Under Create database, type in phplogin in the text box

    • Select utf8_general_ci as the collation

    • Click Create

    • Click the database on the left side panel (phplogin) and execute the following 2 SQL statements:

      CREATE TABLE IF NOT EXISTS `accounts` (
           `id` int(11) NOT NULL AUTO_INCREMENT,
         `username` varchar(50) NOT NULL,
         `password` varchar(255) NOT NULL,
         `email` varchar(100) NOT NULL,
         PRIMARY KEY (`id`)
       ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
      
      INSERT INTO `accounts` (`id`, `username`, `password`, `email`) VALUES (1, 'test', '$2y$10$SfhYIDtn.iOuCW7zfoFLuuZHX6lja4lF4XA4JqNmpiH/.P3zB8JCa', 'test@test.com');
      ALTER TABLE accounts ADD activation_code varchar(50) DEFAULT ''
  5. Go to: http://localhost/phplogin/ and test it!

About

Login/Register System is an easy-to-use, open-source Website allowing you to easily login to your account or register a new one.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published