require_once("in/func.php"); require_once("in/au/authClass.php"); require_once("in/PEAR_Mail/Mail.php"); $auth = new Authenticate(); if($_SERVER['REQUEST_METHOD'] == 'POST') { $name = cleanVar($_POST['name']); $email = cleanVar($_POST['email']); $about = htmlentities($_POST['about'],ENT_QUOTES); if(!$name || !$email || !$about) { $msg = "
\n"; } else { if(!checkEmail($email)){ $msg = "\n"; } else { $mail = Mail::factory("mail"); $headers = array("From"=>$email, "Subject"=>"Request To Write For " . COMP, "MIME-Version"=>"1.0", "Content-type"=>"text/html; charset=iso-8859-1", "PHP\Return-Path"=>$email); $message = "Name: $name| leftNav($auth->isLoggedIn()); ?> |
=$msg?>
Write for =COMP?>Do you have a passion for fly fishing, and a desire to help grow the sport through information? We are now accepting applicants to write content for our website. If you would like to be part of the effort to grow the best sport in the world, tell us a little about yourself below: |