require_once("in/func.php"); require_once("in/au/authClass.php"); require_once("in/PEAR_Mail/Mail.php"); $auth = new Authenticate(); $int_array = array("Advertising","Writing for " . COMP,"Services for Guides","Other"); $INT = cleanVar($_REQUEST['INT']); if( $_SERVER['REQUEST_METHOD'] == 'POST' ) { $name = cleanVar( $_POST['name'], ENT_QUOTES ); $emailx = cleanVar( $_POST['emailx'], ENT_QUOTES ); $website = cleanVar( $_POST['website'] ); $guide = cleanVar( $_POST['guide'] ); $about = cleanVar( $_POST['about'] ); $interest = cleanVar( $_POST['interest'] ); // validate the email, and check to see if the user's email or display name exist already if(!checkEmail($emailx)) { $errCount++; $msg = "
\n"; } if( $errCount == 0 ) { # send activation link $headers = array("From"=>COMP . "<" . NO_REP_CO_EMAIL . ">", "Subject"=>COMP . " Contact Form Submission!", "MIME-Version"=>"1.0", "Content-type"=>"text/html; charset=iso-8859-1", "PHP\Return-Path"=>NO_REP_CO_EMAIL); foreach($_POST as $key => $val) { $message .= $key . " : " . $val . "| leftNav($auth->isLoggedIn()); ?> |
Contact =COMP?>=$msg?> |