Selamun Aleykum;
arkadaþlar bu iletiþim formunda herhangi bir hata varmý acaba ? lütfen yardýmcý olurmusunuz çok acil. ilginiz için þimdiden Allah razý olsun.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?
require("connect.php");
function mail_utf8($to, $subject = '(No subject)', $message = '', $header = '') {
$header_ = $header.'MIME-Version: 1.0' . "\r\n" . 'Content-type: text/plain; charset=UTF-8' . "\r\n";
mail($to, '=?UTF-8?B?'.base64_encode($subject).'?=', $message, $header_ );
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sendemail Script</title>
<link rel="stylesheet" href="eo.css" type="text/css" />
</head>
<body>
<!-- Reminder: Add the link for the 'next page' (at the bottom) -->
<!-- Reminder: Change 'YourEmail' to Your real email -->
<?php
$visitor = $_POST['uniadsoyad'];
$visitormail = $_POST['uniemail'];
$notes = $_POST['uniogrmesaj'];
$univeliad = $_POST['univeliad'];
$unitel = $_POST['unitel'];
$uniograd = $_POST['uniograd'];
$uniogrdob = $_POST['uniogrdob'];
$uniogrsehir = $_POST['uniogrsehir'];
$uniogrokul = $_POST['uniogrokul'];
$uniogrbolum = $_POST['uniogrbolum'];
$uniogrnot = $_POST['uniogrnot'];
if (eregi('http:', $notes)) {
die ("Do NOT try that! ! ");
}
if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,".")))
{
echo "<h2>Use Back - Enter valid e-mail</h2>\n";
$badinput = "<h2>Feedback was NOT submitted</h2>\n";
echo $badinput;
die ("Go back! ! ");
}
if(empty($visitor) || empty($visitormail)) {
echo "<h2>Use Back - fill in all fields</h2>\n";
die ("Use back! ! ");
}
$todayis = date("d.m.Y - H:i ") ;
$subject = "basvuru formu";
$notes = stripcslashes($notes);
$mnotu ="basvuru formu: ". $todayis ."\n";
$message = " -----------------------------------------------\n
BAÅžVURUYU YAPANIN
Adı Soyadı: $visitor
İletişim Tel: $unitel
EPosta: $visitor ($visitormail)
Mesajı: $notes
-----------------------------------------------
ÖĞRENCİNİN
Adı: $uniograd
Dogum tarihi: $uniogrdob
Bulundugu sehir: $uniogrsehir
Son Okulu: $uniogrokul
İstediği Bölüm: $uniogrbolum
Lise Mezuniyet Notu: $uniogrnot \n
VELİNİN Adı: $univeliad
";
$from = "From: $visitor <$visitormail>\r\n";
mail_utf8($anamail, $subject, $mnotu.$message, $from);
form_mail_ekle($visitormail,$message,$subject);
//mail_utf8("mail@domail.com", $subject, $mnotu.$message, $from);
//mail("mail@domail.com", $subject, $mnotu.$message, $from);
?>
<p align="center">
Date: <?php echo $todayis ?>
<br />
<strong>Thank You : <?php echo $visitor ?> ( <?php echo $visitormail ?> )
<br />
<u>Your message has been sent.</u> </strong>
<br />
Message:<br />
<?php $notesout = str_replace("\r", "<br/>", $notes);
echo $notesout; ?>
<br /><br />
<?php echo $ip ?>
<br /><br />
</p>
</body>
</html>