is interested in joining the organization. They have also left the following message: $message"; ################### STOP! ################### ?> Send this NM Karate page to a friend
"; if(empty($message)){ echo "You didn't enter a message
"; } if(empty($senders_name)){ echo "You didn't enter your name
"; } //if(empty($emails)){ echo "You didn't enter any emails to send it to
"; } if(empty($senders_email)){ echo "You didn't enter your email
"; } if(empty($senders_phone)){ echo "You didn't enter your phone number
"; } if(empty($senders_besttime)){ echo "You didn't enter the best time to call
"; } echo "
Please fix them and try again."; $error = "yes"; } else { $email_to = "kenlee104@hotmail.com"; $message = stripslashes($message); $senders_name = stripslashes($senders_name); mail("$email_to", "$send_refer_Email_message_title", "$send_refer_Email_message", "From: <$senders_email>"); $message = str_replace ("\r\n","
", $message); $to_log = "$date_output|::|$url|::|$senders_name|::|$senders_email|::|$emails|::|$message|::|\n"; // logs the email $fp = fopen($log_file, "a"); $fw = fwrite($fp, $to_log); fclose($fp); echo "Thank you! Your message has been sent. Please close this window."; } } if(empty($send) || $error == "yes"){ $message = stripslashes($message); $senders_name = stripslashes($senders_name); echo "
\n"; echo "\n"; //echo "Refering: $url

\n"; //echo "Enter all the emails of the people you want to send this page to.
\n"; //echo "Seperate them by commas.

"; //echo "Email(s) to send to:

\n"; echo "Enter your name, E-mail address, and message below and we will be happy to contact you about joining our organization.

\n"; echo "Your Name:

\n"; echo "Your Email:

\n"; echo "Phone:

\n"; echo "Best time to call:

\n"; //echo "Your Message: (this will have the link to the page already included)\n"; echo "Questions or Comments:\n"; echo "

\n"; echo "\n"; echo "

"; } ?>