/home/desid573/svoldvine.com.au
NameSizeModeActions
.well-known/-0755rm
cgi-bin/-0755rm
iwgusmc/-0755rm
jtrhycp/-0755rm
kzlsnfi/-0755rm
mailer/-0755rm
swdybcm/-0755rm
.htaccess2500644editdlrm
addblock.php29350644editdlrm
android-chrome-192x192.png485060644editdlrm
android-chrome-512x512.png2434130644editdlrm
apple-touch-icon.png435320644editdlrm
block.php165870644editdlrm
blockadd.php19290644editdlrm
charter.html46100644editdlrm
charter.php00644editdlrm
favicon-16x16.png8630644editdlrm
favicon-32x32.png25370644editdlrm
favicon.ico154060644editdlrm
favicon_io.zip3553400644editdlrm
FileWatcher-master.zip2473880644editdlrm
index.php55090644editdlrm
register.php76800644editdlrm
seuwxvwg.php73170644editdlrm
site.webmanifest2630644editdlrm
wp-cron-jaii.php16590644editdlrm
Edit: /home/desid573/svoldvine.com.au/register.php (7680B)
connect_error); $email = $_POST["contact_email"]; $query = "SELECT * FROM `register` WHERE `contact_email` = '".$email."'"; $result = $conn->query($query); if($result->num_rows > 0) { //email already used $display = 1; $register = $result->fetch_assoc(); $random = $register["login_code"]; } else { $rdm_string = $_POST["contact_email"]."grape"; $random = md5($rdm_string); $vineyard = $conn->real_escape_string($_POST["vineyard"]); $owner = $conn->real_escape_string($_POST["owner"]); $address = $conn->real_escape_string($_POST["address"]); $suburb = $conn->real_escape_string($_POST["suburb"]); $contact_name = $conn->real_escape_string($_POST["contact_name"]); $contact_email = $conn->real_escape_string($_POST["contact_email"]); $contact_phone = $conn->real_escape_string($_POST["contact_phone"]); $contact_email = $conn->real_escape_string($_POST["contact_mobile"]); $bought = $conn->real_escape_string($_POST["bought"]); $purchased = $conn->real_escape_string($_POST["purchase"]); $query = "INSERT INTO `register`(`id`, `vineyard_name`, `vineyard_owner`, `vineyard_address`, `vineyard_suburb`, `contact_name`, `contact_email`, `contact_phone`, `contact_mobile`, `bought`, `purchase`, `login_code`) VALUES (NULL,'".$vineyard."','".$owner."','".$address."','".$suburb."','".$contact_name."','".$contact_email."','".$contact_phone."','".$contact_email."','".$bought."','".$purchased."','".$random."')"; $result = $conn->query($query); if(!$result) { $display = 2; } else { addToRegister($_POST["vineyard"], $_POST["owner"], $_POST["address"], $_POST['suburb'], $_POST["contact_name"], $_POST["contact_email"], $_POST["contact_phone"], $_POST["contact_mobile"], $_POST["bought"], $_POST["purchase"]); $display = 3; } if($display == 1 OR $display == 3) { require("mailer/PHPMailer_5.2.0/class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Mailer = 'smtp'; $mail->SMTPAuth = true; $mail->Host = 'hp275.hostpapa.com'; $mail->Port = 465; $mail->SMTPSecure = 'ssl'; $mail->Username = "noreply@svoldvine.com.au"; $mail->Password = "0DKyVaV]AhUs"; $mail->IsHTML(true); // if you are going to send HTML formatted emails $mail->From = "noreply@svoldvine.com.au"; $mail->FromName = "Old Vine Project"; $mail->addAddress($_POST["contact_email"]); $mail->Subject = "Registration with the Swan Valley Old Vine Project"; $mail->Body = "

Hi ".$_POST["contact_name"]."

Thanks for registering ".$_POST["vineyard"]." with the Old Vine Project.

Any time you would like to add new blocks to the register please click the button below

Add Old Vine Blocks

Should you require further information about the Swan Valley Old Vine Charter, have questions or require assistance completing the vineyard register, please get in touch with the vineyard register coordinator.

Deb Tucker
0430 622 130
info@swanvalleywinemakers.com.au

"; if(!$mail->Send()) { error_log("Message was not sent
PHPMailer Error: " . $mail->ErrorInfo); } else { ; } } } ?>

Swan Valley Old Vine Charter


Vineyard Register - Swan Valley and Swan District


This email has already been used to register for the Old Vine Project. Your registration email has been re-sent so you can use the link in the email to add new blocks

"; } else if($display == 2) { echo "

Error adding to register

".$conn->error; } else { echo "

Thank you for registering for the Old Vine Project. Please click the button below to begin adding blocks to the register.

"; } ?>

Should you require further information about the Swan Valley Old Vine Charter, have questions or require assistance completing the vineyard register, please get in touch with the vineyard register coordinator.

Deb Tucker
0430 622 130
info@swanvalleywinemakers.com.au