$fs=fopen("logs/contact.log","a"); $todate = date ("d/m/Y:h:i:s O"); fwrite($fs,"$todate:\n"); fwrite($fs,"POST:\n"); foreach ($_POST as $key=>$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='