if(isset($_GET["rrqst"])) {
session_unset();
session_destroy();
setcookie("signup_confirm","", time() - 3600);
if(!isset($_SESSION["signup_confirm"])) { unset($_SESSION["signup_confirm"]); }
session_start();
}
if(!isset($_SESSION["signup_confirm"])) {
session_unset();
session_destroy();
session_set_cookie_params(120,"/","www.hamlog.ch",false,true);
session_start();
$char=chr(rand(97,122));
$char.=chr(rand(48,57));
$char.=chr(rand(65,90));
$char.=chr(rand(97,122));
$char.=chr(rand(48,57));
$char=str_shuffle($char);
$im = imagecreate(100, 50);
$string = urlencode(base64_encode($char));
$_SESSION["signup_confirm"]=$char;
echo "
Set up your hamlog account:
\n";
echo "