Upload file and send mail with attachment movie + script

Hi everybody
My problem is this. I’m trying to make a flash movie (in a larger project) that has some input text fields (but not necesarily only that), basically a form, and a button that uses a FileReference class for uploading a file from the users computer. In the end, this setup should send an email with the mesagge and the file attached to the mesagge to a determined email adress.

Now, the problem is that I’m absolutely lame when it comes to php, that meaning that I understand someone else’s script but when it comes to writing myself well…huh :d: I’m toast.

I have found a beautifull tutorial [COLOR=Olive]here[/COLOR] http://www.flash-db.com/Tutorials/upload/ (much credit to Jorge Solis) for the uploading part and a equally :slight_smile: beatifull one [COLOR=Olive]here[/COLOR] http://www.kirupa.com/developer/actionscript/flash_php_email.htm for sending a mail. Also I’ve found [COLOR=Olive]here[/COLOR] http://www.php.net/manual/en/ref.mail.php and [COLOR=Olive]here[/COLOR] all sorts of scripts for sending mail with attachement, from which, of course :slight_smile: :), I can’t understand a ■■■■ thing.

Now, to wrap it up… I have functional movie that puts a file in a folder on the server. I have a flash movie that sends mail via a php-script. I need a God’■■■■ shotgun wedding with these two.

Any help (particulary the imediate one) will be appreciated. Thank you in advance