[php]password_hash於5.4以下版本的相容性做法
發表於 : 2021年 7月 26日, 10:29
請參閱這篇:
https://stackoverflow.com/questions/253 ... or-php-5-4
利用這個第三方函數庫 password_compact -
https://github.com/ircmaxell/password_compat
include 他的 password.php 即可於 php 5.3.7 以上版本使用 password_hash 功能.
https://stackoverflow.com/questions/253 ... or-php-5-4
利用這個第三方函數庫 password_compact -
https://github.com/ircmaxell/password_compat
include 他的 password.php 即可於 php 5.3.7 以上版本使用 password_hash 功能.