Skip to main content

Register

How to Create a simple Registration Form in PHP/MySQLi and HTML

Introduction: This tutorial will cover creating a register form with PHP/MySQLi/HTML. Steps of Creation: Step 1: First, we need to create a database to hold the user accounts. This is done through MySQL/PHPMyAdmin. On your localhost/web host cPanel/Control Panel go to MySQL Databases and create a new one (for example; the name of your site - Mine will be "tutorial"). Next, go to PHPMyAdmin and

Login and Register using PDO in PHP

This tutorial tackles on how to create a simple login and register using PDO extension in PHP. PDO stands for PHP Data Objects and as per official site description, defines a lightweight, consistent interface for accessing databases in PHP. PDO is the most recommended extension nowadays to interact with database because of many features like preventing SQL injections, prepared statements, etc.

How to Hash Password using PHP's password_hash()

This tutorial tackles on how to hash password using PHP's password_hash() function. password hash(), as per official site description, creates a password hash. This function expects two parameters, the password that you want to hash, then the algorithm that you want to use to hash the password. You can then use password_verify() function to check for the hashed password.

Angular JS Simple Register using Ui-Router

This tutorial tackles on how to create a simple register in Angular JS using Ui-Router to handle our routes and PHP/MySQLi to handle our backend and database. After a successful register, we are going to redirect our registered user to our homepage. Angular JS is a javascript framework maintained by Google and is capable of creating Single-Page Applications.