I have a contact form in my site...when i send message through it the headers are not displayed...rest everything is displayed.and i want to set required field for email and address and show error message when not filled out...please give some idea i am new to it
Contact form is not showing headers
Collapse
X
-
Originally posted by something else View PostI would try adding:
PHP Code:$headers .= 'X-Mailer: PHP/' . phpversion();
Added after 29 minutes:
Can you please give me a contact form that has required fields and secure...Last edited by Sumeeth6666; 21.11.13, 16:43.
Comment
-
Originally posted by arnage View PostForm:
PHP Code:echo '<input type="text" name="your_email" value="' . $youremail . '"/>';
PHP Code:$your_email = !empty($_POST['your_email']) ? $_POST['your_email'] : null;
if (isset($your_email)) {
// continue..
}
Comment
Comment