// Generate verification code
srand((double)microtime()*1000000);
$ddgbcode = substr(strtoupper(md5(rand(0, 999999999))), 2, 5);
$ddgbcode = str_replace("O", "A", $ddgbcode);
$ddgbcode = str_replace("0", "B", $ddgbcode);
$_SESSION["ddgbcode"] = $ddgbcode;
?>
Terug naar het gastenboek