iletişim.php
<style type="text/css">
<!--
.i { padding:5px; width:90%;}
.style3 {color: #CC0000; font-weight: bold;}
-->
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><br />
<h2>İletişim Formu<br />
<br />
</h2>
<form action="islem.php" method="POST">
<b><font size="2" face="Arial"><font color="#666666">İsim </font><font face="Arial"> </font><font size="2" face="Arial"> : </font>
<font size="1" face="Arial"> </font></b><font size="1"> </font>
<input type="text" name="isim" size="33" style="border: 1px dotted #C0C0C0; ; background-color:#ECECFF; color:#666666"></p>
<p>
<b><font size="2" face="Arial"><font color="#666666">Soyadı : </font></b>
<input type="text" name="soyad" size="33" style="border: 1px dotted #C0C0C0; ; background-color:#ECECFF; color:#666666"></p>
<p>
<b><font size="2" face="Arial"><font color="#666666">E-mail : </font></b>
<input type="text" name="email" size="33" style="border: 1px dotted #C0C0C0; ; background-color:#ECECFF; color:#666666"></p>
<p>
<b><font color="#666666">Konu : <font size="2"> </font>
<select size="1" name="konux" style="border: 1px outset #ECECFF; background-color: #ECECFF; font-family:Arial; font-size:10pt; color:#666666">
<option value="">! Lütfen Konu Seçin !</option>
<option value="istek">istek</option>
<option value="sikayet">sikayet</option>
<option value="soru">soru</option>
</select></b></p>
<p>
<font face="Arial">
<b><font size="2"><font color="#666666">İletiniz : </font></b> </font><textarea name="ileti" rows="7" cols="26" style="border: 1px dotted #C0C0C0; ; color:#666666; background-color:#ECECFF"></textarea><br>
<input type="submit" value=" Gönder " style="color: #FFFFFF; border-style: outset; border-width: 2px; background-color: #FF6600; font-size:8pt; font-family:Arial; font-weight:bold">
<input type="reset" value=" Sıfırla " style="color: #FFFFFF; border-style: outset; border-width: 2px; background-color: #FF6600; font-family:Arial; font-weight:bold; font-size:8pt"></p>
<p>
<span lang="en"><font face="Times New Roman">
</td>
</tr>
</table>
<br />
<br />işlem.php
<?php
$kime="se16@hotmail.com,ne-34@hotmail.com";
$konu="formdan gelen bilgi";
$isim = $_POST['isim'];
$soyad = $_POST['soyad'];
$email = $_POST['email'];
$ileti = $_POST['ileti'];
$konux = $_POST['konux'];
if( empty($isim) || empty($soyad) || empty($email) || empty($ileti) || empty($konux)){
echo'
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
</head>
<body>
<p> </p>
<p> <a href="index.php?page=iletisim">
<img border="0" src="hata.jpg" width="560" height="262"></a></p>
</body>
</html>
</center>';
}
else{
$gorus ="İsim: $isim soyad: $soyad KONU: $konux ileti: $ileti email: $email";
if (mail($kime, $konu, $gorus)){
echo'
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
</head>
<body>
<p> </p>
<p> <a href="index.php">
<img border="0" src="dogru.jpg" width="560" height="210"></a></p>
</body>
</html>
<tr>
<td>
</td></tr>
</table>';
}
else{
echo'
';
}
}
?>