$code = $_POST['code'];
if ($securimage->check($code) == false) {
die("Sorry, the code entered did not match.");
} else {
$valid = true;
}
$code = $_POST['code'];
if ($securimage->check($code) == false) {
die("Sorry, the code entered did not match.");
} else {
$valid = true;
}