Please fill all required fields!

"; echo ""; // closetable(); include "../footer.php"; exit; } /* EMPTY FIELD CHECK */ // $email and $message are the data that is being // posted to this page from our html contact form $name = addslashes($_REQUEST['Your_Name']); $email = addslashes($_REQUEST['Your_Email']); $message = addslashes($_REQUEST['Additional_Message']); $show = addslashes($_REQUEST['Show_Details']); $content = "Your Name: ".$name."
\n"; $content .= "Your Email: ".$email."
\n"; $content .= "Show Details: ".$show."
\n"; $content .= "Additional Message:
".$message."

\n"; $content .= "IP:" . getEnv("REMOTE_ADDR"); $content .= "
---"; $mail->IsSMTP(); // enable SMTP $mail->SMTPDebug = SMTP::DEBUG_SERVER; $mail->CharSet = 'utf-8'; $mail->SMTPDebug = 0; // debugging: 1 = errors and messages, 2 = messages only $mail->SMTPAuth = true; // authentication enabled $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; // Enable TLS encryption; `PHPMailer::ENCRYPTION_SMTPS` encouraged $mail->Host = 'smtp.gmail.com'; $mail->Port = 587; $mail->Username = "submissions@u2gigs.com"; // SMTP username $mail->Password = "aiYUy4hNuT4kiYbMR3vHfNKYfTyReDxUfqjaP2P2H7"; // SMTP password $mail->setFrom('submissions@u2gigs.com', $name); $mail->AddReplyTo($email, $name); $mail->AddAddress("matt@u2gigs.com", "Matt"); $mail->AddAddress("webmaster@achtungbaby-online.de", "Marc"); $mail->WordWrap = 50; $mail->IsHTML(true); $mail->Subject = "Cover submission on U2gigs.com"; $mail->Body = $content; $mail->AltBody = $content; for($i=0; $iAddAttachment($filepath, $filename); } } if(!$mail->Send()) { echo "Message could not be sent.

"; echo "Mailer Error: " . $mail->ErrorInfo; exit; } echo "



Your form has been sent. Thank you.



"; } else { ?>

U2 Cover Archive


Cover home | Cover gallery | Feedback | Upload

U2gigs.com: cover upload form

Fill out the form below to upload your covers.

All fields marked with * are mandatory.

  
"; // closetable(); require "../footer.php"; ?>