$value) { fwrite($fs,"$key=>$value\n"); } if (preg_match("/href\=/",$_POST["question"])) { die("Fuck you"); } if (filter_var($_POST["question"], FILTER_VALIDATE_REGEXP, array('options'=>array('regexp'=>'/http/mis')))) { die("Fuck you http spammer!"); // http - SPAM } // ====================================\ @include_once('_dir.php'); // ====================================/ call('trim',array(&$name,&$email,&$subject,&$question)); if ($action==1) if ($question=='') $Message='
Error: enter message
'; elseif (@mail($Config['contact_email'],header_encode("Contact from $Config[site_name]",$SITE_CHARSET), "Name: $name\nE-mail: $email\nSubject: $subject\nMessage: $question", "From: $email;\nContent-type: text/plain; charset=$SITE_CHARSET")) { // "From: $SERVER_MAIL_FROM\nContent-type: text/plain; charset=$SITE_CHARSET")) { redirect('contact_us.html?action=2'); exit; } else $Message='
Internal Error
'; elseif ($action==2) $Message='
Your message has been sent to administration
'; include_once("$ROOT_PATH/common/all_head.php"); ?>
Name:
Your e-mail:
Subject:

*Message: