HTML + PHP Contact Forum Help.?
I want some aid.I ‘m making my website by using HTML and also PHP.We have a speak to form, nonetheless whenever another person sends a good email, I want an intelligent email that they are sent back to the individuals email they entered, saying it was successful.
Here is my PHP value:
<php
if(($_POST’email’ == “) ($_POST’name’ == “) (is_numeric($_POST’name’)) ($_POST’surname’ == “) (is_numeric($_POST’surname’)) ($_POST’subject’ == “) ($_POST’message’ == “))
reveal ‘Complete that forms correctly
Click on <a href="/img_articles/15099/index.php" mce_href="/img_articles/15099/index.php" to return on key page.NO;
in addition
$to = ‘piticstyleyahoo.com’; // alter e-mail adress
$send_date = date(‘d-m-Y H:i:s’);
$subject = $_POST’subject’;
$message = NO
Send Night out:'.$send_date.NO
Name:'.$_POST'name'.NO |
Surname:NO.$_POST'surname'.NO |
E-Mail:'. |
Concept:
NO.$_POST'message'.NO |
‘;
$headere = “MIME-Version:ONE PARTICULAR.0rn”;
$headere.= “Content-type:text/html; charset=iso-8859-1rn”;
$headere.= “From:”.$_POST’name’.” “.$_POST’surname’.”<".$_POST'email'.
mail($to, $subject, $message, $headere);
reveal ‘The concept was send’;
>
I want an email that they are sent towards entered email the fact that persons entered.Please aid.
The following site could make the overall process easy as cake:
http://www.thesitewizard.com/wizards/feedbackform.shtml
Your current hosting deal or service MUST make it possible for SMTP (
http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol ) to operate.Otherwise, no email can be sent.
Ron
$header1 = “MIME-Version:ONE PARTICULAR.0rn”;
$header1.= “Content-type:text/html; charset=iso-8859-1rn”;
$header1.= “From:”.$_POST’name’.” “.$_POST’surname’.”<".$_POST'email'.
mail($_POST’email’, “Re:$subject”, “Message:it was successful.”, $header1);
Leave a Reply
You must be logged in to post a comment.