Konu Başlığı: Form Mail < acil >
View Single Post
Sponsorlu Bağlantılar
Zoque.Forum
Advertisement
Old 08.07.2003   #1 (permalink)
Azeri.net
 
Üyelik Tarihi: 29.05.2003
Yer: Bakü
Yaş: 32
Mesaj: 26
Form Mail < acil >

Tekrar merhaba!
Ben sitemde PGDMAIL in form mail scriptini kullanıyorum. Ama ne hikmetse mailler şu ana kadar hiç gönderilmedi. Galiba scripte bir sorun var. Scriptin PHP i bölümünü aşağıda yazıyorum. Bana bu scripti nasıl çalıştırabileceğimi yazarmısınız?


<HTML> <base target="_self"> <META HTTP-EQUIV="REFRESH" CONTENT="3;URL=http://www.azeri.net"> </head> <body bgcolor="FFFFFF" text="#444444"> <? /*script Made By Pgd Design. You can editwho the e-mail is sent to and the subject, look below.*/ $MailTo = "****@yahoo.com"; //email to send the results to $MailSubject = "From site"; //text in the Subject field of the mail $MailHeader = "From: azeri.net"; //text in the From field of the mail $MailSent = "<center><img border=0 src=emailsent.gif width=450 height=350></center>"; //confirm code /* You can edit the for fields below */ if ($s1 == ""){ //name of field 1 } else { $MailBody = "Name : $s1\n"; //This value is inserted inthe mailbody } if ($s2 == ""){ } else { $MailBody .= "Company : $s2\n"; } if ($s3 == ""){ } else { $MailBody .= "E-mail : $s3\n"; } if ($s4 == ""){ } else { $MailBody .= "Subject : $s4\n"; } if ($s5 == ""){ } else { $MailBody .= "Website Rating : $s5\n"; } if ($s6 == ""){ } else { $MailBody .= "Referral : $s6\n"; } if ($s7 == ""){ } else { $MailBody .= "Message : $s7\n"; } //Routine to send message { mail($MailTo, $MailSubject, $MailBody, $MailHeader); //message send echo("$MailSent"); //Confirmation message. } ?> </body> </HTML>
Azeri.net şu an çevrimdışı   Mesajdan alıntı yaparak yeni bir cevap ekleyin