|
File Upload to db and attach in 'mail()' command
I have form where i'd like to make it possible for users to include files, and I want the files to be uploaded to a db along with the form contents so that the files will be attached to the form info so when i call it up in a query i can see the files as well as the form info(and download them if i want) by simply filtering the query by an id field or what not.
Also when the form is submitted i want it to send the info to the db and also and email which is sent to me and the filesuploaded are attachments.
Any help is greatly appreciated.
__________________
One may say "They're losing their marbles." I would ask, "Who gave them the marbles in the first place?"
|