Attention! You must insert your name.
'; } else if(trim($email) == '') { $error = '
Attention! Please enter a valid email.
'; // Configuration option. // Remove the // tags below to active phone number. //} else if(!is_numeric($phone)) { // $error = '
Attention! Phone number can only contain digits.
'; } else if(!isEmail($email)) { $error = '
Attention! Incorrect email address. Please try again.
'; } if(trim($subject) == '') { $error = '
Attention! Please choose a subject.
'; } else if(trim($comments) == '') { $error = '
Attention! No message data.
'; } else if(trim($verify) == '') { $error = '
Attention! Please enter Captcha result.
'; } else if(trim($verify) != '4') { $error = '
Attention! Captcha result is incorrect.
'; } if($error == '') { if(get_magic_quotes_gpc()) { $comments = stripslashes($comments); } // Configuration option. // Enter the email address that you want to emails to be sent to. // Example $address = "joe.doe@yourdomain.com"; $address = "deco@antoniopastorelli.com"; // Configuration option. // i.e. The standard subject will appear as, "You've been contacted by John Doe." // Example, $e_subject = '$name . ' has contacted you via Your Website.'; $e_subject = 'You\'ve been contacted by ' . $name . '.'; // Configuration option. // You can change this if you feel that you need to. // Developers, you may wish to add more fields to the form, in which case you must be sure to add them here. $e_body = "You have been contacted by $name with regards to $subject, their additional message is as follows.\r\n\n"; $e_content = "\"$comments\"\r\n\n"; // Configuration option. // RIf you active phone number, swap the tags of $e-reply below to include phone number. //$e_reply = "You can contact $name via email, $email or via phone $phone"; $e_reply = "You can contact $name via email, $email"; $msg = $e_body . $e_content . $e_reply; mail($address, $e_subject, $msg, "From: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n"); // Email has sent successfully, echo a success page. echo "
"; echo "

Message sent

"; echo "

Tanks $name.

"; echo "
"; } } if(!isset($_POST['contactus']) || $error != '') // Do not edit. { ?>

Contact form

for: PASTODECO©

Please fill this form to contact me




* please enter result: