if (isset($send)) {
$mail = "bicom@bicompa.ro";
$subject = "bicompa.ro - form cerere oferta";
for($i=1; $i<=12; $i++) {
if(${"checkbox".$i} != "")
$interes .= ${"checkbox".$i}."; ";
}
$content .= "Companie: $companie\n";
$content .= "Persoana contact: $contact\n";
$content .= "Telefon: $telefon\n";
$content .= "Fax: $fax\n";
$content .= "Email: $email\n";
$content .= "Domenii de interes: $interes\n";
$content .= "Mesaj: $mesaj\n";
$content = stripslashes($content);
if (!stristr($content,"Content-Type") && !stristr($content,"MIME-Version") && !stristr($content,"Content-Transfer-Encoding")
&& ereg("^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*$", $email)) {
mail($mail,$subject,$content,"From: $email\nReply-To: $email\nReturn-path: $email\n" );
// mail("samuel@computerexpert.ro",$subject,$content,"From: $email\nReply-To: $email\nReturn-path: $email\n" );
$MESAJ = "
Mesajul a fost trimis cu succes.
";
}
}
?>
$categ = "";?>
require_once ('header.php'); ?>