Name:
Phone:
E-Mail:
_BLOCK_; if ($op != "ds") { echo "$form_block"; } else if ($op == "ds") { $to_process = ''; if ( (ereg("(http)",$comment)) || (ereg("(mailto)",$comment)) || (ereg("(href)",$comment)) ){ $to_process = "no"; } if ($to_process != "no"){ /// Error checking for form input fields /// Check First Name Field if ($firstname == "") { $firstname_err = "Name

Thank You for the EMail.

"; echo "

Your EMail has been sent.

"; echo "

We will be contacting you within the next
business day

"; echo "

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"; echo "

$arr[1]@$arr[2].$arr[3]

"; echo "

Email sent from $remote_IP address.

"; echo "

Using $browser_result

"; echo "

Date: $todaysdateServer Time: $servertime

"; echo "

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"; $mail_sent = "yes"; $msg = ""; if ($mail_sent == "yes") { /// Now send letter to Visitor using main and P.S. text files $msg .= "Dear $firstname $lastname,\n\n"; $msg .= $LTR_bdy ; $msg .= "\n\n"; $msg .= $WHO; $msg .= "\n"; $msg .= "mailto:"; $msg .= $OUREMAIL; $msg .= "\n"; $msg .= $BASEURL; $msg .= "\n\n\n"; $msg .= "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"; $msg .= "Email was sent from $remote_address IP address.\n"; $msg .= "Using the follwing EMail Address: $arr[1]@$arr[2].$arr[3]\n"; $msg .= "Using $browser_result\n"; $msg .= "Date: $todaysdate Server Time: $servertime\n"; $msg .= "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"; $msg .= "$PS_bdy"; $to = $email; $subject = "$formname"; $mailheaders ="From: "; // $from - $mailheaders .= $WHO; $mailheaders .="\n"; $mailheaders .="Reply-To: "; $mailheaders .= $OUREMAIL; $mailheaders .="\n"; mail($to, $subject, $msg, $mailheaders); $mail_sent = "yes"; } }else{ echo "
$form_block $firstname_err

$phone_err

$email_err
"; } }else{ print "

We do not accept links in this form. If you need to open a Support ticket for your web site please use this link "; print '
Support Ticket'; } } ?>