Ok guys, last time I posted a question here I got the answer I needed within a day
. Lets see if we can do this again
.
Here goes:
I need to figure out how to have my script accept form content and an image (or another type of document, in various formats) from an HTML form and then build and send that message along with the attachement to the desired sender.
I already have a script that gets the from data (no attachement) and sends it along but it accepts data using the 'GET' method.
I figure I need to use method 'POST' and enctype 'multipart/form-data' to send the attachement to my script, but how does the script handle the data once it has it?
Note that I do not want to save the file anywhere, I just need get it from the form and email it.
Any help would be great.
Thanks.


Here goes:
I need to figure out how to have my script accept form content and an image (or another type of document, in various formats) from an HTML form and then build and send that message along with the attachement to the desired sender.
I already have a script that gets the from data (no attachement) and sends it along but it accepts data using the 'GET' method.
I figure I need to use method 'POST' and enctype 'multipart/form-data' to send the attachement to my script, but how does the script handle the data once it has it?
Note that I do not want to save the file anywhere, I just need get it from the form and email it.
Any help would be great.
Thanks.