Skip to content

PHP user registration script. Includes proper password salting and hashing.

License

Notifications You must be signed in to change notification settings

martinontcode/php-user-registration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure PHP user registration script

PHP user registration script that includes proper password salting and hashing, MySQLi injection protection anda simple design.

On HOLD

As my university academic session is starting, I won't be able to update my projects as often as I would like to.

Screenshot

Registration Form

Who is this script for ?

If you are looking for a simple registration script then this is for you. A lot of beginners try to build registration scripts from scratch and end up using outdated salting and hashing. This script comes with a fully implemented user registration system covering most of security issues. You should use this login script with the registraton script also available on my [Github] (https://github.com/MartinoEst/secured-php-login).

Requirements

  1. PHP 5.6
  2. mySQLi activated

Live demo

http://registration.martincodes.com

Installation

Create a MySQL database named 'membership'.
Change database server, user, password in config/dbconnect.php.
Run the script below to create MySQL table.

CREATE TABLE `membership`.`users`(
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `username` VARCHAR(20) NOT NULL,
  `email` VARCHAR(40) NOT NULL,
  `password` VARCHAR(128) NOT NULL,
  PRIMARY KEY(`id`)
) ENGINE = InnoDB;

License

Licensed under MIT. You can use this script for free for any private or commercial projects.

Contribute

Please create a feature-branch if possible when committing to the project, if not then simply commit to master branch.

About

PHP user registration script. Includes proper password salting and hashing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages