byarjantin
🌱Yeni Üye🌱
- Katılım
- 6 Eyl 2008
- Mesajlar
- 20
- Tepkime puanı
- 0
arkadaşlar siteme bi form yaptım ama mail gelmio hata verio yarım pls acil
Kod:
<?php
if(!empty($_POST)){
$mesaj_mail="";
while (list ($isimpost, $gelenpost) = each ($_POST)) {
$mesaj_mail .= "$isimpost = $gelenpost\n<br>";
}
$mail_mail = "amuduza@**********";
$konu_mail = "Başvuru";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
if(mail($mail_mail, $konu_mail, $mesaj_mail, $headers)){
print "Başvuru Formunuz Başarıyla Gönderildi";
}
}
else{
?>
<html><head>
<**** http-equiv="Content-Language" content="tr">
<**** http-equiv="Content-Type" content="text/html; charset=windows-1254">
</head><form action="<?php $PHP_SELF ?>" method="POST" ><table border="0" width="500" height="30"><tr><td height="27" width="743" colspan="4"><font size="3" color="#FF9933"><b><u>Başvuru Formu</u></b></font></td></tr><table><table border="0" width="500" ><tr><td height="32" width="122"><font size="3" color="#FF9933"> Adınız:</font></td><td height="32" width="368"><input type="text" name="Adınız" size="20"></td><tr><td height="32" width="122"><font size="3" color="#FF9933"> Nickiniz:</font></td><td height="32" width="368"><input type="text" name="Nickiniz" size="20"></td><tr><td height="32" width="122"><font size="3" color="#FF9933"> Leveliniz:</font></td><td height="32" width="368"><input type="text" name="Leveliniz" size="20"></td><tr><td height="32" width="122"><font size="3" color="#FF9933"> National Pointiniz:</font></td><td height="32" width="368"><input type="text" name="NationalPointiniz" size="20"></td><tr><td height="32" width="122"><font size="3" color="#FF9933"> Online Olduğunuz Süre:</font></td><td height="32" width="368"><input type="text" name="OnlineOlduğunuzSure" size="20"></td><tr><td height="32" width="122"><font size="3" color="#FF9933"> E-Mailiniz:</font></td><td height="32" width="368"><input type="text" name="E-Mailiniz" size="20"></td><tr><td height="32" width="122" valign="top"><font size="3" color="#FF9933">Mesajınız:</font></td><td height="32" width="368"><textarea rows="4" name="Mesajınız" cols="20"></textarea></td><tr><td height="32" width="122" valign="top"></td><td height="32" width="368"><input type="submit" value="Gönder" style="color: #FF9933; border: 1px solid #FF9933; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; background-color: #FFFFFF">
<input type="reset" value="Temizle" style="color: #FF9933; border: 1px solid #FF9933; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; background-color: #FFFFFF"></td></form></html>
<?php
}
?>