// check whether user has registered before $reznorId = $HTTP_COOKIE_VARS["reznorId"]; if ($sbmt) { srand((double)microtime()*1000000); $reznorId = md5(rand()); $reznorId = setcookie ('reznorId', $reznorId,31536000,"/"); $subject = "New user logged on to Reznor technical library"; $body = "Name:\t\t".$name; $body .= "\nCompany:\t".$company; $body .= "\nPostcode:\t\t".$postcode; $body .= "\nEmail:\t".$email; mail("marketing@ambirad.co.uk",$subject,$body); } ?>
if (!$reznorId) { ?> To access this section of our website please supply your details.. TECHNICAL LIBRARY
|