ValidEmail($_POST["email"]) == false)
{
$errors[2]="The email address is invalid please check it"; $email_error=1;
}
}
if(count($errors)<1 && isset($_POST["submit"]))
{
//send the mail
$name = stripslashes($_POST["name"]);
$email = stripslashes($_POST["email"]);
$msg = strip_tags(stripslashes($_POST["messege"]));
$message ="Hello \nA new messege from http://www.chromopixel.com\n";
$message .="\nName : $name";
$message .="\nE-mail : $email";
$message .="\nThe message :\n$msg";
$message .="\nThanks";
$m->autoCheck( false );
$m->From($_POST["email"]);
$m->ReplyTo($_POST["email"]);
$m->To( $the_email );
$m->Subject( "chromopixel.com quick contact messege" );
$m->Body( "$message" ); // set the body
$m->Priority(1) ;
$m->Send();
//redirect the user
header("location: $thanku_page",false);
}
?>
CHROME PIXEL- Advanced Webdesign and Development Solutions
| |
 |

0 && isset($_POST["submit"]) )
{
echo "Error in the form ";
foreach($errors as $err)
{
echo "• $err ";
}
echo " |
";
echo "The errored fields are highlighted in red ";
echo " | ";
}
?>
|
In Europe:
Phone: +36-1-327-2098
Fax: +36-1-327-2091 |
In the USA: Phone:
1-203-803-4279
Fax: 1-419-793-9135 |
| Email : sales@chromepixel.com |
| |
you can also use this form for quick contact:
|
|
|
| |
|
|
|
|
 |
|
 |
|
© Copyright 2005 chromepixel.com |
|
|
|
|
|
|
|
|
|
|