One Million Downloads for Charity
Email us at: info@onemilliondownloadsforcharity.com

Fill in the form below to send me an email.'; $email_address = 'info@onemilliondownloadsforcharity.com'; $form_element0 = $_POST['form_element0']; $sent_message .= ' ';$sent_message .= 'Your Name: '. $_POST['form_element0'];$sent_message .= ' ';$form_element1 = $_POST['form_element1']; $sent_message .= ' ';$sent_message .= 'Your Email: '. $_POST['form_element1'];$sent_message .= ' ';$form_element2 = $_POST['form_element2']; $sent_message .= ' ';$sent_message .= 'Subject: '. $_POST['form_element2'];$sent_message .= ' ';$form_element3 = $_POST['form_element3']; $sent_message .= ' ';$sent_message .= 'Message: '. $_POST['form_element3'];$sent_message .= ' ';if (!eregi ("^([a-z0-9_]|\-|\.)+@(([a-z0-9_]|\-)+\.)+[a-z]{2,4}$", $email_address)) { unset($email_address); } if (file_exists($tmp_name)){ if(is_uploaded_file($tmp_name)){ $file = fopen($tmp_name,'rb'); $data = fread($file,filesize($tmp_name)); fclose($file); $data = chunk_split(base64_encode($data)); } $headers="From:$form_element1\r\n" . "MIME-Version: 1.0\r\n" . "Content-Type: multipart/mixed;\r\n" . "boundary=\"{$mime_boundary}\""; $sent_message .= "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $sent_message . "\n\n"; $sent_message .= "--{$mime_boundary}\n" . "Content-Type: {$type};\n" . " name=\"{$name}\"\n" . "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n" . "--{$mime_boundary}--\n"; } else { $headers="From:$form_element1\r\n" ."MIME-Version: 1.0\r\n" ."Content-Type: text/plain; charset=\"iso-8859-1\"\n"; }if($form_element0 && $form_element1 && $form_element2 && $form_element3 && $email_address) { $mailed=mail($email_address, $form_element2, $sent_message, $headers); $form_message = 'Thank you, your email has been sent.'; } else { $form_message = 'One Million Downloads for Charity
Email us at: info@onemilliondownloadsforcharity.com

Fill in the form below to send me an email.
Fields marked with * are required.'; } ?>

*


*


*


*