Location: PHPKode > scripts > Hash > hash/hash_check.php



// private data not to be known. Can be login / password for example. The same
$data_server="a private data from the server";
$data_site="a private string of the site";

echo "Here is the hash created: $hash<br>\n";
echo "Item to be verified: $item<br>\n";
echo "<br>\n";

$h=new hash($data_server,$data_site,5);

if ($res)
  echo "<font color=#0000FF>Check ok!</a><br>\n";
  echo "<font color=#FF0000>Check not ok!<br></a>\n";
echo "<br>\n";
echo "<a href=hash_check.php?hash=$hash&item=$item>Refresh</a><br>\n";
echo "<a href=hash_start.php>back</a><br>\n";
Return current item: Hash