Need help for PHP Validation Check

Alles, was PHP betrifft, kann hier besprochen werden.

Need help for PHP Validation Check

Postby Rashel2429 » 26. February 2019 08:18

How to check user validation for a registration form. Please, anyone, help me.
User avatar
Rashel2429
 
Posts: 1
Joined: 26. February 2019 08:08
Location: Bangladesh
XAMPP version: 3.2
Operating System: windows

Re: Need help for PHP Validation Check

Postby Nobbie » 26. February 2019 12:43

Usually you check Userid and Password against a SQL table which contains valid UserIDs with Password. For safety reasons, do not store plain readable passwords, instead store a crypted password and compare it to the crypted password applied from the user.

Instead of the SQL table you also may use a simple textfile with valid Users and Passwords, that may run slightly slower in case of very many users, but usually it does not. There are tons of example scripts out there in the internet, simply google for "PHP loginscript". See her for example: https://codingcyber.org/simple-login-sc ... -mysql-64/
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to PHP

Who is online

Users browsing this forum: No registered users and 11 guests