Sign Up
'.$n_maxlen_key.''; foreach($a_email_output as $key => $val) { //echo '
'.strlen($key).' - '.($n_maxlen_key-strlen($key)).''; $str_left = str_pad($key.' ', ($n_maxlen_key), '.', STR_PAD_RIGHT); $str_right = str_pad(' '.$val, ($n_maxlen_val), '.', STR_PAD_LEFT); $email_output .= $str_left.$str_right."\n"; } /** * ======================== * Email to Farm. * ======================== $admin_to = ''; */ $admin_to = 'organicfarm@nl.rogers.com'; $admin_subject = 'Veggie Co-op Application - Returning Member'; $admin_message = 'A Co-op Membership Form has been submitted:'."\n\n".$email_output; $admin_headers = ''; $admin_headers .= "From: The Organic Farm
'.$email_output.''; } /** * ======================== * Email to Potential Customer. * ======================== */ $cust_to = $_POST['Email_Address']; $cust_subject = 'The Organic Farm - Veggie Co-op Membership Application'; $cust_headers = ''; $cust_headers .= "From: The Organic Farm
'.$email_output.''; } ?>
Veggie Coop Membership Application
2008 Season
Thank You for Your Membership Application!
We will be in touch with you shortly.
Return to the Organic Farm Home Page
0) { $error_message_display = '
'.$error_message.' |
Veggie Coop Returning Member Application
2008 Season
* @version v 1.0 2000/12/03 23:59:59 * @param string email * @return bool true if email valid, false if not */ function data_validate_email($email) { if (!ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'. '@'. '[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.' . '[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$', $email)) { return false; } return true; } ?>
