私は自分のサイトを開発しているうちに、現在localhost上でPHP 5.4.16を実行しています。私はpassword_hash()を使用したいが、私はこのエラーを得続ける: Fatal error: Call to undefined function password_hash() in /dir/to/file.php on line 123 ですが、なぜでしょうか? ありがとうございま
:私は使用する前に、function_existsを使用して自分のコードを管理することができますhttp://www.sitepoint.com/password-hashing-in-php/ function generateHash($password) {
if (defined("CRYPT_BLOWFISH") && CRYPT_BLOWFISH) {
$salt