\r\n";
/* validate */
if (empty($HTTP_POST_VARS['name']) OR empty($HTTP_POST_VARS['email']) OR empty($HTTP_POST_VARS['phone'])){
print "
We're sorry. To allow us to respond to your comments, please be sure to complete all fields marked with *. Thank you.
";
exit;
}
/* and now mail it */
if(mail("$to", "$subject", "$message", "$headers")){
header("Location: http://www.bigdogrealty.com/success.htm");
exit;
}
else{
print "Mail not accepted by server";
}
}//end function send Mail
function showForm(){
global $PHP_SELF;
print "
";
BigDogRealty.com