This content has been marked as final.
Show 4 replies
-
1. Re: How to Hide Password in Member List
Dsarchy Sep 19, 2014 12:22 PM (in response to Max Resnikoff)This function will replace your password string with the same amount of '*'
public function ConvertoStar($string)
{
$len = strlen($string); $star = "";
for ( $s=1; $s <= $len; $s++ ) {
$star .= "*";
}
return $star;
}
echo ConvertoStar($yourvalue)
But your better off hashing your passwords though - PHP: Password Hashing - Manual
-
2. Re: How to Hide Password in Member List
bregent Sep 19, 2014 3:59 PM (in response to Dsarchy)>but your better off hashing your passwords
And you also should not even be revealing password lengths, as that compromised security as well.
-
3. Re: How to Hide Password in Member List
Max Resnikoff Sep 21, 2014 7:23 AM (in response to Dsarchy)It says there is an error or the first line
-
4. Re: How to Hide Password in Member List
Dsarchy Nov 11, 2014 4:07 AM (in response to Max Resnikoff)Drop the 'public'



