$pagelang = 'English';
$mailto = 'info@networdservices.com';
if ($_POST['Submit'] == 'Send') {
$text = trim($_POST['text']);
$error = '';
if ($text == '') {
$error = 'Message/Comments is required';
} else {
$mailbody = "Page language: $pagelang\n\n";
$mailbody .= "Message / Comments:\n" . str_replace('
', "\n", str_replace("\n", '', str_replace("\r", '', nl2br($text)))) . "\n";
$msg = '';
if (@mail($mailto, 'Networds Services Message/Comments Form', $mailbody, "From: postmaster@networdservices.com\r\nContent-Type: text/plain; charset=\"utf-8\"")) {
$msg = 'Thank you for your comments.';
$text = '';
} else {
$msg = 'The system cannot process your request at this moment, please try again later.';
}
}
}
?>
Networds Services
 |
|
| |
Contact Us
Message / Comments
|
|
|
|
Message / Comments: (Character limit: 300)
if ($error != '') { ?>
=$error?>
} ?>
if ($msg != '') { ?>
=$msg?>
} ?>
|
|
| |
|
|
|
|
|
|
| Copyright 2001-2005 Networds Services. All Rights Reserved. | Terms & Conditions |