config.php
<?
$email = "kutluelektrik@kutluelektrik.com";
$subject = "istek";
?>
sendmail.com
<?
include "config.php";
if ($f_name <> "" and $f_mail <> "" and $f_message <> "") {
mail("$email", "$subject", "From: $f_name\nMail: $f_mail\nMessage:\n\n$f_message");
$msg = "Your message has been sent, thank you.";
} else {
$msg = "All fields are required, push the back button to fill out the rest.";
}
?>
<p><? echo $msg; ?></p>
form.php
<p>Contact the Webmaster.</p>
<form action="sendmail.php" method=POST>
<table width=100%>
<tr><td align=right>Your Name:</td>
<td align=left><input type=text name=f_name size=30></td></tr>
<tr><td align=right>Your E-mail</td>
<td align=left><input type=text name=f_mail size=30></td></tr>
<tr><td align=right>Message</td>
<td align=left><textarea cols=40 rows=5 name=f_message></textarea></td></tr>
</table>
<input type=submit value="Send Mail">
</form>
wamp server da çalışıyor, ama ftp ile yüklediğimde "dosya yükleme" diye pencere açılıyor. nerde bir hata war yardımcı olurmusunuz?
www.kutluelektrik.com
<?
$email = "kutluelektrik@kutluelektrik.com";
$subject = "istek";
?>
sendmail.com
<?
include "config.php";
if ($f_name <> "" and $f_mail <> "" and $f_message <> "") {
mail("$email", "$subject", "From: $f_name\nMail: $f_mail\nMessage:\n\n$f_message");
$msg = "Your message has been sent, thank you.";
} else {
$msg = "All fields are required, push the back button to fill out the rest.";
}
?>
<p><? echo $msg; ?></p>
form.php
<p>Contact the Webmaster.</p>
<form action="sendmail.php" method=POST>
<table width=100%>
<tr><td align=right>Your Name:</td>
<td align=left><input type=text name=f_name size=30></td></tr>
<tr><td align=right>Your E-mail</td>
<td align=left><input type=text name=f_mail size=30></td></tr>
<tr><td align=right>Message</td>
<td align=left><textarea cols=40 rows=5 name=f_message></textarea></td></tr>
</table>
<input type=submit value="Send Mail">
</form>
wamp server da çalışıyor, ama ftp ile yüklediğimde "dosya yükleme" diye pencere açılıyor. nerde bir hata war yardımcı olurmusunuz?
www.kutluelektrik.com