1. sayfa
quote: <? if(isset($_POST['gonder'])) { //add From: header $headers = "From: trhates@hotmail.com\r\n"; //specify MIME version 1.0 $headers .= "MIME-Version: 1.0\r\n"; //unique boundary $boundary = '-----=' . md5( uniqid ( rand() ) ); //tell e-mail client this e-mail contains//alternate versions $headers .= "Content-Type: multipart/mixed; boundary = $boundary\r\n\r\n"; //HTML version of message $body .= "--$boundary\r\n" . "Content-Type: text/html; charset=utf-8\r\n" . "Content-Transfer-Encoding: base64\r\n\r\n"; $body .= chunk_split(base64_encode( "<b>Ad soyad: </b> ".$_POST['adsoyad']."<br /><br />". "<b>Tel: </b> ".$_POST['tel']."<br /><br />". "<b>e-posta: </b> ".$_POST['eposta']."<br /><br />". "<b>Adres: </b> ".$_POST['adres']."<br /><br />". "<b>Mesaj:</b> ".$_POST['mesaj'])); //send message @mail("trhates@hotmail.com", "[ILETISIM] ".$_POST['konu'], $body, $headers); $mesaj = "Mesajınız İletilmiştir. Teşekkür ederiz"; } ?> <HTML><HEAD><TITLE>Derlemeler.CoM E-Posta Hazır Scripti</TITLE> <META http-equiv=Content-Type content="text/html; charset=utf-8"> <META http-equiv=content-language content=TR> </head><body> <center> <form action="iletisim.php" method="post" name="form1"> <input type="hidden" name="gonder" value="1"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr><td class="icerik_baslik1" height="20"><b>İrtibat Formu</b></td></tr> <tr> <td width="200">İsminiz Soyisminiz</td> <td align="left"><input name="adsoyad" id="adsoyad" type="text"></td> </tr> <tr><td height="5px"><img src="resim/bos.gif" width="1px" height="1px"></td></tr> <tr> <td class="icerik_yazi1">Telefon Numaranız</td> <td align="left"><input name="tel" id="tel" type="text"></td> </tr> <tr><td height="5px"><img src="resim/bos.gif" width="1px" height="1px"></td></tr> <tr> <td class="icerik_yazi1">e-Posta Adresiniz</td> <td align="left"><input name="eposta" id="eposta" type="text"></td> </tr> <tr><td height="5px"><img src="resim/bos.gif" width="1px" height="1px"></td></tr> <tr> <td class="icerik_yazi1">Adresiniz</td> <td align="left"><input name="adres" id="adres" type="text"></td> </tr> <tr><td height="5px"><img src="resim/bos.gif" width="1px" height="1px"></td></tr> <tr> <td class="icerik_yazi1" valign="top">İletmek İstediğiniz</td> <td align="left"><textarea name="mesaj" cols="40" rows="3" class="textarea" id="mesaj"></textarea></td> </tr> <tr> <td colspan="3" height="35" align="center"><a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=13944280&url=javascript:document.all.form1.submit();" data-href="javascript:document.all.form1.submit();"><img src="resim/btn_gonder.gif" border="0" height="18" width="47"></a> </td> </tr> </table> </form> </center> </body> </HTML>
<? if(isset($_POST['gonder'])) { //add From: header $headers = "From: trhates@hotmail.com\r\n"; //specify MIME version 1.0 $headers .= "MIME-Version: 1.0\r\n"; //unique boundary $boundary = '-----=' . md5( uniqid ( rand() ) ); //tell e-mail client this e-mail contains//alternate versions $headers .= "Content-Type: multipart/mixed; boundary = $boundary\r\n\r\n"; //HTML version of message $body .= "--$boundary\r\n" . "Content-Type: text/html; charset=utf-8\r\n" . "Content-Transfer-Encoding: base64\r\n\r\n"; $body .= chunk_split(base64_encode( "<b>Ad soyad: </b> ".$_POST['adsoyad']."<br /><br />". "<b>Tel: </b> ".$_POST['tel']."<br /><br />". "<b>e-posta: </b> ".$_POST['eposta']."<br /><br />". "<b>Adres: </b> ".$_POST['adres']."<br /><br />". "<b>Mesaj:</b> ".$_POST['mesaj'])); //send message @mail("trhates@hotmail.com", "[ILETISIM] ".$_POST['konu'], $body, $headers); $mesaj = "Mesajınız İletilmiştir. Teşekkür ederiz"; } ?> <HTML><HEAD><TITLE>Derlemeler.CoM E-Posta Hazır Scripti</TITLE> <META http-equiv=Content-Type content="text/html; charset=utf-8"> <META http-equiv=content-language content=TR> </head><body> <center> <form action="iletisim.php" method="post" name="form1"> <input type="hidden" name="gonder" value="1"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr><td class="icerik_baslik1" height="20"><b>İrtibat Formu</b></td></tr> <tr> <td width="200">İsminiz Soyisminiz</td> <td align="left"><input name="adsoyad" id="adsoyad" type="text"></td> </tr> <tr><td height="5px"><img src="resim/bos.gif" width="1px" height="1px"></td></tr> <tr> <td class="icerik_yazi1">Telefon Numaranız</td> <td align="left"><input name="tel" id="tel" type="text"></td> </tr> <tr><td height="5px"><img src="resim/bos.gif" width="1px" height="1px"></td></tr> <tr> <td class="icerik_yazi1">e-Posta Adresiniz</td> <td align="left"><input name="eposta" id="eposta" type="text"></td> </tr> <tr><td height="5px"><img src="resim/bos.gif" width="1px" height="1px"></td></tr> <tr> <td class="icerik_yazi1">Adresiniz</td> <td align="left"><input name="adres" id="adres" type="text"></td> </tr> <tr><td height="5px"><img src="resim/bos.gif" width="1px" height="1px"></td></tr> <tr> <td class="icerik_yazi1" valign="top">İletmek İstediğiniz</td> <td align="left"><textarea name="mesaj" cols="40" rows="3" class="textarea" id="mesaj"></textarea></td> </tr> <tr> <td colspan="3" height="35" align="center"><a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=13944280&url=javascript:document.all.form1.submit();" data-href="javascript:document.all.form1.submit();"><img src="resim/btn_gonder.gif" border="0" height="18" width="47"></a> </td> </tr> </table> </form> </center> </body> </HTML>
ya ben bir site yaptım da sipariş formu yazdım ama calışmıyor.
sadece.
adi:
soyadı:
cep tel:
mail:
adres:
sipariş olarak
hazırla ya bilirmiyiz ben yapamadımda
bir de butona bastıgım zaman istedigim bir mail atacak
şimidden tesekkürler