rendered paste body<?phpif( $GLOBALS[ 'SCRIPT' ] != 'signup.php' ){ die( 'You probably want to go <a href=../>here</a>.' );}$first_name = $_POST[ 'first_name' ];$last_name = $_POST[ 'last_name' ];$email = $_POST[ 'email' ];$recipient = "$first_name $last_name <$email>";$subject = 'Complete Signup';$tmpHTMLComments = $GLOBALS[ 'SITE_HTML_COMMENTS' ];$GLOBALS[ 'SITE_HTML_COMMENTS' ] = false;if( $GLOBALS[ 'SITE_SEND_HTML_EMAILS' ] ){$validateUpdateLink = <<<EOF<a href="$validateSignupLink">Validate Update</a>EOF; $emailValidateSignup = getTemplate( 'emailValidateSignupHTML' );}else{ $emailValidateSignup = getTemplate( 'emailValidateSignup' );}eval( "\$emailValidateSignup = \"$emailValidateSignup\";" );$GLOBALS[ 'SITE_HTML_COMMENTS' ] = $tmpHTMLComments;$headers = <<<EOFFrom: $GLOBALS[SITE_OWNER_NAME] <$GLOBALS[SITE_OWNER_EMAIL]>X-Sender: <$GLOBALS[SITE_OWNER_EMAIL]>Return-Path: <$GLOBALS[SITE_OWNER_EMAIL]>Error-To: <$GLOBALS[SITE_OWNER_EMAIL]>X-Mailer: $_SERVER[SERVER_NAME]EOF;if( $GLOBALS[ 'SITE_SEND_HTML_EMAILS' ] ){$headers .= <<<EOFMIME-Version: 1.0Content-type: text/html; charset=UTF-8EOF;}if( !mail( $recipient, $subject, $emailValidateSignup, $headers ) ){ die( 'mail failed to send' );}?>