The salt merely ensures that if 2 people have the same password, their
"crypted" representations are not the same (unless they use the same
salt). When you want to compare a password, you first find the already
encrypted one, grab the salt (the first 2 chars), and then encrypt the
password and compare it.
Teeranai Thamshutiporn wrote :199
I try to use your salt but It said :
Warning: Wrong parameter count for date()
in /home/internet/public_html/admin/passwd.php3
What`s wrong ?
I wanna To Check and Change Password on Linux vai PHP3
code [My Server use MD5]. Do you have same code ?
Regards,
Teeranai Thamshutiporn
Matt Szubrycht wrote :392
Hi,
You need to provide the format of the date ...
I would use the number of seconds since the epoch,
therefore, it should looks somewhat like this: