sa geçler yardım edin çok önemli bu kod php dream wearda açılıyor gönder çalışmıyor niye
İletişim.php
<!DOCTYPE
Html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>iletisim</title>
</head>
<body>
<table width="222" border="1">
<tr>
<td width="46">Ad</td>
<td width="8">:</td>
<td width="146"><form id="form1" name="iletisim" method="post" action="gonder.php">
<label for="ad"></label>
<input type="text" name="ad" id="ad" />
</form></td>
</tr>
<tr>
<td>Soyad</td>
<td>:</td>
<td><input type="text" name="soyad" id="soyad" /></td>
</tr>
<tr>
<td>E-mail</td>
<td>:</td>
<td><input type="text" name="mail" id="mail" /></td>
</tr>
<tr>
<td>Tel</td>
<td>:</td>
<td><input type="text" name="tel" id="tel" /></td>
</tr>
<tr>
<td>Mesaj</td>
<td>:</td>
<td><input type="text" name="mesaj" id="mesaj" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><form id="form2" name="form2" method="post" action="">
<input type="submit" name="Gonder" id="Gonder" value="Gonder" />
</form></td>
</tr>
</table>
</body>
</html>
gönder.php
<!DOCTYPE
Html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head profile="http://gmpg.org/xfn/11"><meta name="robots" content="noodp,noarchive"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="msvalidate.01" content="802B4FCC2AB913A2972C8DF68B02A202"><meta http-equiv="content-language" content="tr"> </head>
<?php
$isim=$_POST["isim"];
$soyad=$_POST["soyad"];
$mail=$_POST["mail"];
$tel=$_POST["tel"];
$mesaj=$_POST["mesaj"];
$emailadresi="
[email protected]";
$emailkonusu="iletisim Formu";
if (empty($isim) or empty($soyad) or empty($mail) or empty($mesaj) or empty($tel))
{
print ("Lütfen bütün alanlari eksiksiz olarak doldurunuz. <br>");
print('<a href="http://neroendustri.com/recep/iletisim.php">Form Sayfasina Geri Dön</a>');
}
else
{
$emailicerigi="
isim: $isim
Soyad: $soyad
E-Mail: $mail
Yorum: $yorum
Tel: $tel";
if(@mail($emailadresi,$emailkonusu,$emailicerigi))
{
echo "E-Mailiniz basarili bir sekilde gönderilmistir. ilginize tesekkür ederiz...!!! ";
print('<a href="http://neroendustri.com">Form Sayfasina Geri Dön</a>');
}
}
?>