Php Kodunu Düzenleme Yardım - Google Fan Webmaster Forum
Google Fan Webmaster Forum  
herşeyi sana yazdım

Geri git   Google Fan Webmaster Forum > Client side Programlama > HTML - CSS - XML
KEY
Kayıt ol Articles Sosyal Gruplar Forumları Okundu Kabul Et

HTML - CSS - XML HTML & CSS Programlama

Cevapla
 
LinkBack Seçenekler
  1  
Alt 04-02-2012, 13:56:33
 
Standart Php Kodunu Düzenleme Yardım

Elimde contact.xml dosyası var aşagıdaki gibi

PHP- Kodu:
<?xml version='1.0' encoding='utf-8'?>

<contactform 
    formwidth="480"
    formheight="420"

    mailphpurl="/contact.php"
    imageurl="images/contact.jpg"
    imagelink=""
    imagetarget="_blank"
    imagewidth="100"
    imageheight="410"
    imagepadding="5"
    imagesolidbackgroundcolor="0x111111"
    imagesolidbackgroundopacity="0.7"
    imagesolidbackgroundrounded="10"
    
    imageshadowopacity="0.3"
    imageshadowblur="7"
    imageshadowcolor="0x000000"
    imageshadowdistance="2"
    imageshadowangle="90"
    
    fieldbgcolor="0x111111"
    fieldbgopacity="0.7"
    fieldbgrounded="0"
    fieldfontcolor="0xcccccc"
    fieldfontsize="12"
    
    errorbgcolor="0xffffff"
    errorbgopacity="0.95"
    errorfontcolor="0x333333"
    errorfontsize="12"
    
    infobgcolor="0x333333"
    infobgopacity="0.9"
    
    btnbgcolor="0x111111"
    btnfontcolor="0xaaaaaa"
    btnfontsize="12"
    
    fonttype="Arial"
    
    messagefieldactive="true"
    messagefieldtitle="Bize Mesajiniz *"
    messagefieldrequired="true"
    messagefieldvar="messagevar"
    messagefielderror="Please enter a Message!"
    messagefieldheight="125"
>

    <infotext>
    <![CDATA[<newsheadline2>Bize Ulasin</newsheadline2><content><br/>
    <bolddcolor></bolddcolor><br/>
    Istek göndermek için <i>"GÖNDER"</i> tusuna basin.Biz mümkün oldugunca en kisa zamanda size geri dönecektir!</content>]]>
    </infotext>
    
    <formfields
        requiredtext="* Ile işaretli alanların doldurulması zorunludur"
        finishedtext="Teşekkür ederiz!Mesaj gönderilmiş olmuştur!"
        notfinishedtext="E-posta gönderirken Hata!"
        submitbuttontext="GONDER"
    >
        
        <field
            fieldtitle="ISIM *"
            fieldrequired="true"
            fieldvar="namevar"
            fielderror="Soyadınızı giriniz!"
        />
        
        <field
            fieldtitle="Email *"
            fieldrequired="true"
            fieldvar="emailvar"
            fielderror="Lütfen e-posta adresinizi girin!"
        />
    
    </formfields>
    
</contactform>



contact.php doyasını contact.xml dosyasını göre düzenlemem lazım .Bu konuda bana yardımcı olun.

Contact.php dosyası ..

PHP- Kodu:
<?php

/*Enter your recieving email and the "do not reply" email for the automated copy that goes to the requesting person*/
$recipient_email "info@prowinnerteam.com";
$donotreply_email "info@prowinnerteam.com";

/*For each form field you setup in the reservation.xml you have to add a variable according to the fieldvar attribute*/
$namevar $_REQUEST['namevar'];
$emailvar $_REQUEST['emailvar'];
$messagevar $_REQUEST['messagevar'];

/*Subject of the email YOU recieve*/
$subject 'Contact Form Email from ' $lastnamevar;

/*Subject of the email the CUSTOMER recieves*/
$subjectnoreply 'You send an Email from YOURWEBSITE.com';

/*Header of the email YOU recieve*/
$header "From: $recipient_email\n" "MIME-Version: 1.0\n" "Content-type: text/plain; charset=utf-8\n";

/*Header of the email the CUSTOMER recieves*/
$headernoreply "From: $donotreply_email\nReply-To: $donotreply_email"MIME-Version: 1.0\n" "Content-type: text/plain; charset=utf-8\n";

/*The email the YOU recieve (you need to list the field value in the body text of the email)*/
$forwardingmessage "You recieved an Email from $firstnamevar $lastnamevar

--------------------------------------------------
Name: 
$namevar
Email: 
$emailvar
Message: 
$messagevar

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

end of message"
;

/*The email the CUSTOMER recieves you also need to add the variables like above*/
$replymessage "Hello $firstnamevar $lastnamevar

Thank you for your Email.

We will follow up shortly.

Please DO NOT reply to this email.

Below is a copy of the form you submitted:
--------------------------------------------------
Name: 
$namevar
Email: 
$emailvar
Message: 
$messagevar
--------------------------------------------------

Best regards
YOURWEBSITE.com"
;

mail($recipient_email,$subject,$forwardingmessage,$header);
mail($emailvar,$subjectnoreply,$replymessage,$headernoreply);

?>
__________________
Beyzades İletişime Geçme : Kişisel Sitesi
Alıntı ile Cevapla
  2  
Alt 04-02-2012, 14:06:41
 
Standart

Bu kategori sence php icin dogru yer mi?
Alıntı ile Cevapla
  3  
Alt 04-02-2012, 14:09:50
 
Standart

Alıntı:
AdamYazmis Nickli Üyeden Alıntı Mesajı göster
Bu kategori sence php icin dogru yer mi?

.xml dosyası var .php dosyasıda var .xml bilen birisi .php bilir düşüncesiyle buraya açmak istedim konuyu
__________________
Beyzades İletişime Geçme : Kişisel Sitesi
Alıntı ile Cevapla
  4  
Alt 05-02-2012, 23:48:41
 
Standart

Yardımınız lazım.
__________________
Beyzades İletişime Geçme : Kişisel Sitesi
Alıntı ile Cevapla
Cevapla


Bookmarks

Seçenekler

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Kapalı
Refbacks are Açık



Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 22:46:12.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

“İnsanların en hayırlısı, insanlara faydalı olandır”. H.Ş

Hosting by Radore Hosting

İçerik sağlayacı paylaşım sitelerinden biri olan R10.net WebMaster Forum Adresimizde 5651 Sayılı Kanun’un 8. Maddesine ve T.C.K’nın 125. Maddesine göre TÜM ÜYELERİMİZ yaptıkları paylaşımlardan sorumludur. R10.net hakkında yapılacak tüm hukuksal Şikayetler adresi ile iletişime geçilmesi halinde ilgili kanunlar ve yönetmelikler çerçevesinde en geç 1 (Bir) Hafta içerisinde R10.net yönetimi olarak tarafımızdan gereken işlemler yapılacak ve Avukatlarımız size dönüş yapacaktır.
ARGUS_OK

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252