MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Forum RSS feedReply
Form help
AuthorText
ahmetcahan1966
Junior Member
Avatar

Posts: 28
Contributes: 0

Gender: _MALE_
Online: No
Date: 09/10/2007 09:05
Form help
#post2099
There is one form in my hand.Don't prepare this form can you help.
code
<?php

###########################################################
###                                                                      ###
###  www.karasancak.net         ###
###  karasancak@karasancak.net'ten bana ulasabilirsiniz ###
###  Lütfen Bu kismi silmeyin , emege saygi           ###
###                                                                      ###
###########################################################

if(isset($_POST["ad"])){

$ad=$_POST["ad"];
$mail=$_POST["mail"];
$mesaj=$_POST["mesaj"];
$mailim="mail@mail.com";///////mailiniz buraya yazilacak
$konu="Mesajin var";//////////////size gelen mailin konusu buraya
$icerik="
Adim: $ad
Mailim: $mail
Mesajim: $mesaj"
;//////////////bu degisken size mesajin hangi sekilde gelecegini gösterir
if(empty($ad) or empty($mail) or empty($mesaj)){
?><html>
<!---- Burasi bos gönderilmeye kalkisirsa kullanici çikacak mesaj bölümü buraya formuda eklemeyi unutmayin ---->
<form method="POST" action="<?php $PHP_SELF ?>">
        <!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
        <table border="0" width="738" height="220">
                <tr>
                        <td height="27" width="152" valign="top"> </td>
                        <td height="27" width="445" valign="top"><b><font color="#FF0000">
                        Bosluklarin Hepsini Doldur Lan!<br> Bi Is Yapion Bari Adam Gibi Yap</font></b></td>
                        <td height="27" width="127" valign="top"> </td>
                </tr>
                <tr>
                        <td height="27" width="152" valign="top"><font face="Verdana"><b>
                        Isim Ne?</b></font></td>
                        <td height="27" width="445" valign="top">
                        <input type="text" name="ad" size="20" style="color: #FFFFFF; font-family: Tahoma; font-weight: bold; background-color: #000000"></td>
                        <td height="27" width="127" valign="top"> </td>
                </tr>
                <tr>
                        <td height="23" width="152" valign="top"><font face="Verdana"><b>E-Mailinide
                        Ver:</b></font></td>
                        <td height="23" width="445" valign="top">
                        <input type="text" name="mail" size="20" style="color: #FFFFFF; font-family: Tahoma; font-weight: bold; background-color: #000000"></td>
                        <td height="23" width="127" valign="top"> </td>
                </tr>
                <tr>
                        <td height="31" width="152" valign="top"><b><font face="Verdana">Ne
                        Istiyon:</font></b></td>
                        <td height="31" width="445" valign="top">
                        <textarea rows="5" name="mesaj" cols="37" style="color: #FFFFFF; font-family: Tahoma; font-weight: bold; background-color: #000000"></textarea></td>
                        <td height="31" width="127" valign="top"> </td>
                </tr>
                <tr>
                        <td height="21" width="152" valign="top"> </td>
                        <td height="21" width="445" valign="top"> </td>
                        <td height="21" width="127" valign="top"> </td>
                </tr>
                <tr>
                        <td height="21" width="152" valign="top"> </td>
                        <td height="21" width="445" valign="top"> </td>
                        <td height="21" width="127" valign="top"> </td>
                </tr>
        </table>
        <p>
        <input  type="submit" name="B1" style="border-style:solid; border-width:1px; color: #000000; font-size: 15px; font-weight: bold; background-color: #FFFFFF; background-image: url(gonder.jpg)" value="    Gönder ">
        <input  type="reset" name="B2" style="border-style:solid; border-width:1px; color: #000000; font-size: 15px; font-weight: bold; background-color: #FFFFFF; background-image: url(gonder.jpg)" value="    Temizle"></p>
</form>

</html>
<?php
}
else{

if(mail($mailim,$konu,$icerik)){///////////bu kisim gönderildikten sonraki mesaj kismi//////
?>
<html><b><font color="#FF0000" face="Tahoma" style="font-size: 11pt">Tamam Mailini
Yolladik, Simdi Kaybol! Git Biraz Yazilarimi Oku , Hadi!</font></b></html>
<?php

}
}
}
else{

?>

<html><!---- Burasi Form bölümü istediginiz gibi düzenleyebilirsiniz ----><form method="POST" action="<?php $PHP_SELF ?>">
        <!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
        <table border="0" width="738" height="220">
                <tr>
                        <td height="27" width="152" valign="top"> </td>
                        <td height="27" width="445" valign="top"> </td>
                        <td height="27" width="127" valign="top"> </td>
                </tr>
                <tr>
                        <td height="27" width="152" valign="top"><font face="Verdana"><b>
                        Isim Ne?</b></font></td>
                        <td height="27" width="445" valign="top">
                        <input type="text" name="ad" size="20" style="color: #FFFFFF; font-family: Tahoma; font-weight: bold; background-color: #000000"></td>
                        <td height="27" width="127" valign="top"> </td>
                </tr>
                <tr>
                        <td height="23" width="152" valign="top"><font face="Verdana"><b>E-Mailinide
                        Ver:</b></font></td>
                        <td height="23" width="445" valign="top">
                        <input type="text" name="mail" size="20" style="color: #FFFFFF; font-family: Tahoma; font-weight: bold; background-color: #000000"></td>
                        <td height="23" width="127" valign="top"> </td>
                </tr>
                <tr>
                        <td height="31" width="152" valign="top"><b><font face="Verdana">Ne
                        Istiyon:</font></b></td>
                        <td height="31" width="445" valign="top">
                        <textarea rows="5" name="mesaj" cols="37" style="color: #FFFFFF; font-family: Tahoma; font-weight: bold; background-color: #000000"></textarea></td>
                        <td height="31" width="127" valign="top"> </td>
                </tr>
                <tr>
                        <td height="21" width="152" valign="top"> </td>
                        <td height="21" width="445" valign="top"> </td>
                        <td height="21" width="127" valign="top"> </td>
                </tr>
                <tr>
                        <td height="21" width="152" valign="top"> </td>
                        <td height="21" width="445" valign="top"> </td>
                        <td height="21" width="127" valign="top"> </td>
                </tr>
        </table>
        <p>
        <input  type="submit" name="B1" style="border-style:solid; border-width:1px; color: #000000; font-size: 15px; font-weight: bold; background-color: #FFFFFF; background-image: url(gonder.jpg)" value="    Gönder ">
        <input  type="reset" name="B2" style="border-style:solid; border-width:1px; color: #000000; font-size: 15px; font-weight: bold; background-color: #FFFFFF; background-image: url(gonder.jpg)" value="    Temizle"></p>
</form>
</html>

<?php

}


?>
Delete Edit Quote
 
kingburak
Just arrived

Posts: 0
Contributes: 0

Gender: _NEUTRAL_
Online: No
Date: 10/10/2007 23:03
Form help
#post2126
dostum problem ne, memht ile ilgili bişey değil sanırım
Edited: 10/10/2007 23:04
Delete Edit Quote
 
BLaCk.DeWiL
Türkiye Destek
Avatar

Posts: 164
Contributes: 87

Gender: _MALE_
Online: No

Version: phantom 4.0, content 3.9.0
Country: Türkiye
Languages: Bad english, turkish
Date: 11/10/2007 13:39
Form help
#post2127
ahmetcahan1966 kardeş MemHT Portal da zaten iletişim sayfası var. Hemde daha detaylı neden böyle boş işlerle uğraşıyorsunuz anlamadım.

http://www.memht.gen.tr/index.php?page=contact

İsim
Email
Tartışma Türü
Nesne
Mesaj
Tarih
IP

Daha mantıklı ve kullanışlı..
Delete Edit Quote
 
ahmetcahan1966
Junior Member
Avatar

Posts: 28
Contributes: 0

Gender: _MALE_
Online: No
Date: 11/10/2007 13:56
Re: Form help
#post2128
quote
BLaCk.DeWiL:
ahmetcahan1966 kardeş MemHT Portal da zaten iletişim sayfası var. Hemde daha detaylı neden böyle boş işlerle uğraşıyorsunuz anlamadım.

http://www.memht.gen.tr/index.php?page=contact

İsim
Email
Tartışma Türü
Nesne
Mesaj
Tarih
IP

Daha mantıklı ve kullanışlı..

Sağol.ligine doğru söylüyorsun.ama iletişimden hariç benim. çeşitli formlara ihtiyacım. var. söyleki. hakem bilgi formu, müsabaka başvuru formu vs.
eğer memht e dhili olan iletişim formu benim işime uyar şekild e olabiliyorsa mutlu olurum.
olmassa ilk konumda belirttiğimin kodlarını memht e uyarlamak gerekiyor.
Yardımlarınız için teşekkürler.
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 11/10/2007 14:08
Re: Form help
#post2129
Thanks BLaCk.DeWiL
Delete Edit Quote
 
BLaCk.DeWiL
Türkiye Destek
Avatar

Posts: 164
Contributes: 87

Gender: _MALE_
Online: No

Version: phantom 4.0, content 3.9.0
Country: Türkiye
Languages: Bad english, turkish
Date: 11/10/2007 16:58
Form help
#post2130
mem I interest.
ahmetcahan1966 kardeş senin isteklerini karşılamak mümkün değil ne yazıkki. Söylediklerin yapılmaz değil ancak MemHT Portal bünyesinde bu kadar isteğe cevap verebilecek destek elemanları yok ne yazıkki. Olduğu kadarıyla idare edecez artık Smile
Delete Edit Quote
 
Reply
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo