|
|
What Human Rights Are
|
|
|
 |
if (!isset($_POST['submit'])) { // if page is not submitted to itself echo the form
?>
For further information about
Youth for Human Rights International:
Phone: (323) 663-5799
E-mail: info@youthforhumanrights.org
Mail: 1954 Hillhurst Ave. #416,
Los Angeles, CA 90027, USA |
Contact Us
|
} else {
if ($_POST["email"] and $_POST['email'] != "") {
$send_from = $_POST["name"] . " <" . $_POST["email"] . ">";
}
else {$send_from = $_POST["name"] . " ";}
//else { $send_from = "test@rigneygraphics.com"; }
if ($_POST["sendto"] and $_POST["sendto"] != "") {
$recipient = $_POST["sendto"];
} else {
$recipient = "info@youthforhumanrights.org";
}
$strHeader = "From: $send_from";
if ($_POST["send_cc"] != "") {
$strHeader .= "\nCc: " . $_POST["send_cc"];
}
if ($_POST["send_bcc"] != "") {
$strHeader .= "\nBcc: " . $_POST["send_bcc"];
}
$strBody = "Youth for Human Rights International - Contact Form";
$strBody .= "\n\nName: " . $_POST['name'];
$strBody .= "\nEmail: " . $_POST['email'];
$strBody .= "\r\n\nMessage: " . $_POST['message'];
mail($recipient, "Youth for Human Rights International - Contact Form", $strBody, $strHeader);
?>
Thank you for your response
We will contact you shortly. |
}
?>
|
|
|
|
|