• 22-05-2009, 12:09:50
    #10
    Üyeliği durduruldu
    Alıntı
    <?
    $ad = $_POST["ad"];
    $tel = $_POST["tel"];
    $email = $_POST["mail"];
    $adet = $_POST["adet"];
    $adres = $_POST["adres"];
    $kime = "b.duz@hotmail.com";
    $konu = "Konu";
    $mesaj= "Ad: '$ad'<br>Telefon '$tel'<br>E-mail '$email'<br>Adet: '$adet'<br>Adres '$adres'";
    $islem = mail($kime,$konu,$mesaj);
    if ($islem){
    echo "Form gönderildi";
    }else
    {
    echo "Hata!";
    }
    ?>
    bunu dene.
  • 22-05-2009, 12:14:26
    #11
    isterseniz şöyle bir ürün verebilirim.. Ege Web - Dizayn,Tasarım,Php,Mysql,Sql,Css,Dhtml,Javascript görsel açıdan da hoş olur..
  • 22-05-2009, 12:27:22
    #12
    Misafir
    <?php
    $tel = $_POST["tel"];
    $email = $_POST["mail"];
    $adet = $_POST["adet"];
    $adres = $_POST["adres"];
    $ad = $_POST["ad"];
    $mesaj = "Adres:$adres Ad Soyad: $ad Adet: $adet Tel: $tel";
    $kime = "mealtunkulah@gmail.com";
    $headers = "From: $email";
    $headers = "Reply-To: $email";
    
    mail($kime, $tel, $mesaj, $headers);
    ?>
    Bu çalışıyor
  • 22-05-2009, 12:30:38
    #13
    Üyeliği durduruldu
    ByMsT adlı üyeden alıntı: mesajı görüntüle
    <?php
    $tel = $_POST["tel"];
    $email = $_POST["mail"];
    $adet = $_POST["adet"];
    $adres = $_POST["adres"];
    $ad = $_POST["ad"];
    $mesaj = "Adres:$adres Ad Soyad: $ad Adet: $adet Tel: $tel";
    $kime = "mealtunkulah@gmail.com";
    $headers = "From: $email";
    $headers = "Reply-To: $email";
    mail($kime, $tel, $mesaj, $headers);
    ?>
    Bu çalışıyor
    hocam telefon numarasını niye başlık olarak yazdırıyorsun
  • 22-05-2009, 12:32:20
    #14
    Misafir
    Tel görünsün diye dedim Konu benzeri birşey olmadığı için
  • 22-05-2009, 12:33:39
    #15
    Üyeliği durduruldu
    ByMsT adlı üyeden alıntı: mesajı görüntüle
    Tel görünsün diye dedim Konu benzeri birşey olmadığı için
    değişken tanımlarsın konu sabit olur neyse bir sürü kod oldu beğenip koyar.hepsi aynı gerçide
  • 22-05-2009, 12:54:49
    #16
    GqN
    Üyeliği durduruldu
    <?php
    $ad = $_POST["ad"];
    $tel = $_POST["tel"];
    $email = $_POST["mail"];
    $adet = $_POST["adet"];
    $adres = $_POST["adres"];
    $mesaj = "Adres:$adres Ad Soyad: $ad Adet: $adet Tel: $tel";
    $kime = "mailin@gmail.com";
    $headers = "From: $email";
    $headers = "Reply-To: $email";
    mail($kime, $tel, $mesaj, $headers);
    ?>
    <!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>Sipariş İşlemi</title>
    </head>
    <body>
    <form method="post" action="siparis.php">
      <table width="429" border="0" cellpadding="4" cellspacing="4">
        <tbody>
          <tr>
            <td width="200">Adınız Soyadınız</td>
            <td width="218"><input name="ad" size="35" style="border: 1px solid rgb(128, 0, 0); color: rgb(255, 255, 255); font-size: 8pt; background-color: rgb(21, 160, 221);" type="text" /></td>
          </tr>
          <tr>
            <td>Telefonuz</td>
            <td><input name="tel" size="35" style="border: 1px solid rgb(128, 0, 0); color: rgb(255, 255, 255); font-size: 8pt; background-color: rgb(21, 160, 221);" type="text" /></td>
          </tr>
          <tr>
            <td>Emailiniz</td>
            <td><input name="mail" size="35" style="border: 1px solid rgb(128, 0, 0); color: rgb(255, 255, 255); font-size: 8pt; background-color: rgb(21, 160, 221);" type="text" /></td>
          </tr>
          <tr>
            <td>Adresiniz</td>
            <td><textarea rows="5" name="adres" cols="50" style="border: 1px solid rgb(128, 0, 0); color: rgb(255, 255, 255); font-size: 8pt; background-color: rgb(21, 160, 221);"></textarea></td>
          </tr>
          <tr>
            <td align="left">İstediğiniz <span class="style3">Adet </span></td>
            <td><select size="1" name="adet" style="border: 1px solid rgb(128, 0, 0); color: rgb(255, 255, 255); font-size: 8pt; background-color: rgb(21, 160, 221);">
              <option>1 Adet - 80 YTL</option>
              <option>2 Adet - 150 YTL</option>
              <option>3 Adet - 220 YTL</option>
              <option>4 Adet - 280 YTL</option>
            </select></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td><input value="Siparişi Gönder" name="siparis" style="border: 1px solid rgb(128, 0, 0); color: rgb(255, 255, 255); font-size: 10pt; background-color: rgb(21, 160, 221); font-family: Tahoma; font-weight: bold;" type="submit" /></td>
          </tr>
        </tbody>
      </table>
    </form>
    </body>
    </html>
    yukardaki php kodlarını siparis.php diye kaydet html kodlarıda kafana göre kaydet at hostuna çalışır mailinide yazmayı unutma...
  • 22-05-2009, 12:57:32
    #17
    teşekkürler arkadaşlar halletim şuan çalışıyor istediğim gibi.
  • 22-05-2009, 14:11:47
    #18
    Üyeliği durduruldu
    formlarda boş olduğunda hata vermenisi yapsan iyi olur.