Şimdi Ara

php iletişim formu hazırlama yardım

Daha Fazla
Bu Konudaki Kullanıcılar: Daha Az
2 Misafir (1 Mobil) - 1 Masaüstü1 Mobil
5 sn
3
Cevap
0
Favori
1.462
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
Öne Çıkar
0 oy
Sayfa: 1
Giriş
Mesaj
  • Arkadaşlar

    <?php 

    $adsoyad = $_POST["ad_soyad"];
    $mail = $_POST["email"];
    $mesaj = $_POST["mesaj"];
    $adres = "tarik_tunali@hotmail.com"; // buraya e-postanin gonderilecegi mail adresini yaz.
    $konu = "Iletisim Formu";

    if(($adsoyad=="") or ($mail=="") or ($mesaj=="")){

    echo "
    Lutfen Ad Soyad, E-Mail ve Mesaj alanlarini bos birakmayiniz.
    Geri don
    ";

    }
    else
    {

    $mesajveri.="ILETISIM FORMU MESAJI\n\n";
    $mesajveri.="E-Mail: ".$mail."\n";
    $mesajveri.="Mesaji: ".$mesaj;

    $mesajyolla = mail($adres, $konu, $mesajveri);

    if($mesajyolla)
    {

    echo "<center>Iletisim mailiniz bize ulasti, en kisa surede cevaplanacaktir. Ilginiz icin tesekkur ederiz.<br><a href=http://www.yaded.com/iletisim.html>Anasayfa</a></center>";

    }
    else
    {

    echo "<center>E-Mail gonderilirken hata olustu! Lutfen daha sonra tekrar deneyiniz.</center>";

    }
    }
    ?>




    Yazıyorum iletisim.php olarak kaydettim ve html sayfamda da form kısmında action bölümüne yazdım örnek olarak;
    <form id="form1" name="form1" method="post" action="php/iletisim.php"> 
    <label>
    <input type="text" name="adsoyad" id="adsoyad" />
    </label>
    </form></td>


    ama olmuyorr =)) acaba nerede yanlış yapıyorum



    _____________________________




  • quote:

    Orijinalden alıntı: spawn12

    Arkadaşlar

    <?php 

    $adsoyad = $_POST["ad_soyad"];
    $mail = $_POST["email"];
    $mesaj = $_POST["mesaj"];
    $adres = "tarik_tunali@hotmail.com"; // buraya e-postanin gonderilecegi mail adresini yaz.
    $konu = "Iletisim Formu";

    if(($adsoyad=="") or ($mail=="") or ($mesaj=="")){

    echo "<center>Lutfen Ad Soyad, E-Mail ve Mesaj alanlarini bos birakmayiniz.<br><a href=http://www.yaded.com/iletisim.html>Geri don</a></center>";

    }
    else
    {

    $mesajveri.="ILETISIM FORMU MESAJI\n\n";
    $mesajveri.="E-Mail: ".$mail."\n";
    $mesajveri.="Mesaji: ".$mesaj;

    $mesajyolla = mail($adres, $konu, $mesajveri);

    if($mesajyolla)
    {

    echo "<center>Iletisim mailiniz bize ulasti, en kisa surede cevaplanacaktir. Ilginiz icin tesekkur ederiz.<br><a href=http://www.yaded.com/iletisim.html>Anasayfa</a></center>";

    }
    else
    {

    echo "<center>E-Mail gonderilirken hata olustu! Lutfen daha sonra tekrar deneyiniz.</center>";

    }
    }
    ?>




    Yazıyorum iletisim.php olarak kaydettim ve html sayfamda da form kısmında action bölümüne yazdım örnek olarak;
    <form id="form1" name="form1" method="post" action="php/iletisim.php"> 
    <label>
    <input type="text" name="adsoyad" id="adsoyad" />
    </label>
    </form></td>


    ama olmuyorr =)) acaba nerede yanlış yapıyorum

    $mesajveri.="ILETISIM FORMU MESAJI\n\n"; 
    $mesajveri.="E-Mail: ".$mail."\n";
    $mesajveri.="Mesaji: ".$mesaj;


    Buraları,

    $mesajveri.="ILETISIM FORMU MESAJI\n\n"; 
    $mesajveri ="E-Mail: ".$mail."\n";
    $mesajveri ="Mesaji: ".$mesaj;


    olarak değiştirir misiniz?

    Siteniz yaded.com mu?

    quote:

    Method Not Allowed
    The HTTP verb used to access this page is not allowed.


    --------------------------------------------------------------------------------

    Web Server at yaded.com



    < Bu mesaj bu kişi tarafından değiştirildi The Time Lord -- 23 Haziran 2012; 15:24:04 >
    _____________________________
    Steam ID: thetimelorddh | Social Club ID: AlperOZD | Atatürkçü. | English | PHP | Javascript | jQuery | C | Java | Android | İTÜ İnşaat Mühendisliği | SINCE 01.02.2012



    I am The Doctor. I always will be. But times change, and so must I... we all change. When you think about it, we are all different people, all through our lives and that's okay, that's good! You've gotta keep moving, so long as you remember all the people that you used to be. I will not forget one line of this, not one day. I swear. I will always remember when the doctor was me.




  • Eet yaded.com
    _____________________________
  • Yapay Zeka’dan İlgili Konular
    Daha Fazla Göster
    
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.