I will like to hash the password entered by the user but I get this errorerrormy work
Asked
Active
Viewed 25 times
0
-
Hi, can you show the line that make this error, [line 14] – AziMez Oct 16 '21 at 22:40
-
https://stackoverflow.com/questions/20955465/call-to-undefined-function-password-hash – Cyclonecode Oct 16 '21 at 22:41
-
the error is on line 14 – michxiz30 Oct 16 '21 at 22:45
-
1My guess is that you are using an old version of PHP. The `password_hash` function is available starting with PHP `5.5`. – Cyclonecode Oct 16 '21 at 22:47
-
yes I am using an older version of php .... I then used crypt () instead of password_hash () https://www.php.net/manual/en/function.crypt.php thank you... – michxiz30 Oct 16 '21 at 22:55