email ); if ( $ar_email == '' || !is_email ( $ar_email ) ) { echo '

No contact info. Sorry

'; exit; } $em_body = pick ( 'em_body', false ); $code = pick ('code', false); if ( form_submitted () ) { $errors = Array(); if ( trim ( $em_body ) == '' ) $errors [ 'em_body' ] = 'Please put some text in...'; //if ( trim ( $newterm ) == '' ) // $errors [ 'newterm' ] = 'Please enter the term for definition'; if ( !isset ( $_SESSION [ 'code_accepted' ] ) || $_SESSION [ 'code_accepted' ] != TRUE ) { if ( !$code || $code != $_SESSION [ 'code' ] ) $errors [ 'code' ] = 'Validation code is incorrect'; else { // session_register ( 'code_accepted' ); $_SESSION [ 'code_accepted' ] = TRUE; } } if ( !count ( $errors ) ) { $ip = $_SERVER [ 'REMOTE_ADDR' ]; $headers = 'Content-Type: text/plain; charset=utf-8' . "\n" . 'Return-Path: postmaster@' . SITE_DOMAIN . "\n" . 'From: ' . SITE_DOMAIN . ' \n" . 'Reply-To: ' . SITE_DOMAIN . ' '; $subject = 'Contact [no-org.net]'; $mbody = "------------------------------------------------------------\n\n" . $em_body . "\n\n" . "------------------------------------------------------------\n\n" . 'GMT: ' . gmdate ( 'Y-m-d H:i:s' ) . "\n" . 'User-Agent: ' . $_SERVER [ 'HTTP_USER_AGENT' ] . "\n" . 'User-IP: ' . $ip . "\n" . 'Hostname: ' . gethostbyaddr ( $ip ) . "\n"; mail ( $ar_email, $subject, $mbody, $headers ); header ( 'Location: thankyou.php?r=email' ); exit; } } ?> no-org.net | Contact

Send email to

Text (don't forget to include your contact info)

' . $errors [ 'em_body' ] . '

' ?>

*Validation code:

 Copy>> 

' . $errors [ 'code' ] . '

' ?>