PHP VERSION 5.3.13
PHPMYADMIN VERSION 5.0.91
Hello everyone.
One simple question: if my hosting server doesn't support hash_hmac(), where do I insert this line of syntax in the 'registration.php' file as advised on page 79, chapter 4:
return mysql_real_escape_string ($dbc, sha1 ($password, true));
Error message goes like this:
Fatal error: Call to undefined function create_password_hash() in /hermes/waloraweb004/b1384/moo.laissezfairelondonco/wolfcut/register.php on line 72
Line 72 of register.php goes like this:
$q = "INSERT INTO users (username, email, pass, first_name, last_name, date_expires) VALUES ('$u', '$e', '" . create_password_hash($p) . "', '$fn', '$ln', ADDDATE(NOW(), INTERVAL 1 MONTH) )";
Any advice much appreciated