Die Suche ergab 2 Treffer

von Thejohan
7. Mär 2020, 22:59
Forum: English Support Forum
Thema: Login
Antworten: 1
Zugriffe: 244

Re: Login

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';
von Thejohan
27. Feb 2020, 18:58
Forum: English Support Forum
Thema: Login
Antworten: 1
Zugriffe: 244

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!

Zur erweiterten Suche