To check password of a user
function formatString($string){
$string = trim(strip_tags(addslashes($string)));
return $string;
}
echo password_verify($formatString(PasswordGivenByUser), $PasswordFromDatabase) ? 'true' : 'false';
Die Suche ergab 2 Treffer
- 7. Mär 2020, 22:59
- Forum: English Support Forum
- Thema: Login
- Antworten: 1
- Zugriffe: 3398
- 27. Feb 2020, 18:58
- Forum: English Support Forum
- Thema: Login
- Antworten: 1
- Zugriffe: 3398
Login
Hi
I have the need to make a new loginpage.
But i cant figure out what i need.
I need to just verify user and password.
I dont need any sessions or any visible content.
Any idea?
Thanks!
I have the need to make a new loginpage.
But i cant figure out what i need.
I need to just verify user and password.
I dont need any sessions or any visible content.
Any idea?
Thanks!