Contact form is not showing headers
Collapse
X
-
Try turning on php error messages to see if the headers parameter has been disabled by the host.
-
This is an example, you will had to see this structure how it actually works...
PHP Code:if (isset($your_email)) {
// continue..
} else {
// 1.
echo 'No e-mail';
// 2.
$error = 'No e-mail';
}
Leave a comment:
-
and where can i put error message to be displayedOriginally posted by arnage View PostForm:
Check: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..
}
Leave a comment:
-
Form:
Check: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..
}
Leave a comment:
-
that isnt working...Originally posted by something else View PostI would try adding:
to your existing headersPHP 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.
Leave a comment:
-
I would try adding:
to your existing headersPHP Code:$headers .= 'X-Mailer: PHP/' . phpversion();
Leave a comment:
-
Contact form is not showing headers
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 itAttached FilesLast edited by Sumeeth6666; 21.11.13, 12:06.Tags: None
Leave a comment: