"; } if (!empty($error)) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $error, $errorcode); echo $errorcode; exit; } $internalfields = array ("submit", "reset", "send", "captcha_code"); $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (!is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } } } $body = 'This is a multi-part message in MIME format.'.$eol.$eol; $body .= '--'.$boundary.$eol; $body .= 'Content-Type: text/plain; charset=iso-8859-1'.$eol; $body .= 'Content-Transfer-Encoding: 8bit'.$eol; $body .= $eol.stripslashes($message).$eol; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0 && $_FILES[$key]['size'] <= $max_filesize) { $body .= '--'.$boundary.$eol; $body .= 'Content-Type: '.$_FILES[$key]['type'].'; name='.$_FILES[$key]['name'].$eol; $body .= 'Content-Transfer-Encoding: base64'.$eol; $body .= 'Content-Disposition: attachment; filename='.$_FILES[$key]['name'].$eol; $body .= $eol.chunk_split(base64_encode(file_get_contents($_FILES[$key]['tmp_name']))).$eol; } } } $body .= '--'.$boundary.'--'.$eol; mail($mailto, $subject, $body, $header); header('Location: '.$success_url); exit; } ?> Registration Form
Global Awareness Campaign
Supporters
Registration Form
  
Virtual Gigs Club

Artistic Effort

for the


Support of Good Causes
Required Fields are Marked with a Star *
First Name *
Surname *
Address 1 *
Address 2
City *
Province/State
Postal code/zip *
Country of Residence *
Email Address *
Phone Number
Male
Female
Age *
Security Question 1: Birthday *
Security Question 2: motherīs maiden name
Security Question 3: place of birth *
Security Question 4: name of first school
Delivery Address if differnt from above 1
Delivery Address 2
City
Province/State
Postal code/zip
Country of Resicence
Category of Membership Applied For: RAS
Category of Membership Applied For: IM
Category of Membership Applied For: IM*
Category of Membership Applied For: IM**
Category of Membership Applied For: IM***
Category of Membership Applied For: IM****
Membership Categories are described on
http://www.you-choose-when.com/virtual_gigs_club
Membership Fee of Ģ30, set to cover the initial administration costs of setting up the Club and establishing the Membership records, applies after 31 August 2009.