Well, I've done it. I will work on the graphics now. I used a button to move from Jorge's Flash script for uploading to go to the next frame and begin the email process. The php code looks like this.
<?php
$newfile = $_POST['thepath'];
$fileatt = $newfile; // Path to the file from Flash variables
$fileatt_type = "application/octet-stream"; // File Type
$fileatt_name = $_POST['thefile']; // Filename that will be used for the file as the attachment from Flash variables
$from = $_POST['email'];
$email_from = $from; // Who the email is from
$email_subject = "Info From Website"; // The Subject of the email
$email_txt = $_POST['message']; // Message that the email has in it
$email_to = "webmaster@yoursite.com"; // Who the email is too
$headers = "From: ".$email_from;
$file = fopen($fileatt,'rb');
$data = fread($file,filesize($fileatt));
fclose($file);
$semi_rand = md5(time());
$mime_boundary = "==Multipart_Boundary_x{$semi_rand}x";
$headers .= "\nMIME-Version: 1.0\n" .
"Content-Type: multipart/mixed;\n" .
" boundary=\"{$mime_boundary}\"";
$email_message .= $email_txt . "\n\n" .
"--{$mime_boundary}\n" .
"Content-Type:text/html; charset=\"iso-8859-1\"\n" .
"Content-Transfer-Encoding: 7bit\n\n" .
$email_txt . "\n\n";
$data = chunk_split(base64_encode($data));
$email_message .= "--{$mime_boundary}\n" .
"Content-Type: {$fileatt_type};\n" .
" name=\"{$fileatt_name}\"\n" .
//"Content-Disposition: attachment;\n" .
//" filename=\"{$fileatt_name}\"\n" .
"Content-Transfer-Encoding: base64\n\n" .
$data . "\n\n" .
"--{$mime_boundary}--\n";
$ok = @mail($email_to, $email_subject, $email_message, $headers);
?> You will need to create variables from the upload movie to read the file name and and path and post them to the PHP through the movieclip that has the form. You should also add many extensions to the list unless you just want images. Change the error code in the movie to say, your file was uploaded or something like that. I will show an example and have everything available for download very soon.