Quote
classes/Authenticate.class.php
hash_hmac() [<a href='function.hash-hmac'>function.hash-hmac</a>]: Unknown hashing algorithm: Linje: 158
Quote
$key = hash_hmac($user['user_algo'], $userID.$cookieExpiration, $user['user_salt']);
print_r(hash_algos());
Quote
Array ( [0] => md2 [1] => md4 [2] => md5 [3] => sha1 [4] => sha256 [5] => sha384 [6] => sha512 [7] => ripemd128 [8] => ripemd160 [9] => ripemd256 [10] => ripemd320 [11] => whirlpool [12] => tiger128,3 [13] => tiger160,3 [14] => tiger192,3 [15] => tiger128,4 [16] => tiger160,4 [17] => tiger192,4 [18] => snefru [19] => gost [20] => adler32 [21] => crc32 [22] => crc32b [23] => haval128,3 [24] => haval160,3 [25] => haval192,3 [26] => haval224,3 [27] => haval256,3 [28] => haval128,4 [29] => haval160,4 [30] => haval192,4 [31] => haval224,4 [32] => haval256,4 [33] => haval128,5 [34] => haval160,5 [35] => haval192,5 [36] => haval224,5 [37] => haval256,5 )
echo "'".$user['user_algo']."'";
Quote
''
<?php
$result = dbquery("SELECT user_id, user_name, user_algo FROM users WHERE user_algo<>'sha256' AND user_algo<>'md5'");
if (!dbrows($result))
echo "Everything fine!";
while ($data = dbarray($result))
echo "<div>User #".$data['user_id']." ".$data['user_name']." has algo '".$data['user_algo']."'</div>";
?>
Quote
User #3 Staroftheweek has algo ''
User #11 Krigerskjalden has algo ''
User #28 PinkEye has algo ''
User #33 Timian has algo ''
User #37 Hovsa has algo ''
User #41 topghost has algo ''
<?php
global $user;
print_r($user);
?>
Quote
User #3 Staroftheweek has algo ''
User #11 Krigerskjalden has algo ''
User #28 PinkEye has algo ''
User #33 Timian has algo ''
User #37 Hovsa has algo ''
User #41 topghost has algo ''
Category Forum
Upgrading issues - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions