Creating and uploading email attachments
In the past I have created a flash contact form online which used PHP to send emails which worked perfectly.
My new project wants to be able to upload a file (PDF only) and then use PHP to email it to me as an attchment. I cannot do this yet but there seems to be enough resources online to figure it out. If anyone can recommend a good one, I'd appreciate it.
My main question is that along with the attchment, I'd like flash to generate anothger attachment which would contain information the user had entered (many fileds including address and file info etc) - possibly in XML. When I get this attchment, I would like somehow to use a different flash program locally to import this xml file to its own database.
Is there a smart way of doing this other than manually dragging the xml file from the email into a folder and then locating it through flash to import it? Maybe running a BAT dos program to move/copy/launch things?
Many thanks in advance and I hope what I've asked is clear and makes sense