Jump to content


Photo

emailing a file from a file upload field


  • Please log in to reply
1 reply to this topic

#1 clearmedia

clearmedia
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 18 May 2006 - 04:50 AM

i have an HTML form that has many txt fields, a few select fields and three file upload fields.

The user entries in these fields are to be emailed on via a php page.

I have worked out how to email all the results from the txt and select fields, but need to know how to attach the uploads to the email i am sending.

Could someone advise please

Thankyou

#2 haydndup

haydndup
  • Members
  • PipPipPip
  • Advanced Member
  • 42 posts
  • LocationJohannesburg, South Africa

Posted 18 May 2006 - 05:09 AM

Firstly, you would want to do some checking on the files uploaded to make sure that they are not .exe etc. You don't want to be responsible for emailing viruses... But have a look at [a href=\"http://lwest.free.fr/doc/php/lib/index.php3?page=mail&lang=en\" target=\"_blank\"]LibMail[/a] for sending your emails with attachments
[!--coloro:#660000--][span style="color:#660000"][!--/coloro--]The Gene Pool Could Use A Little Chlorine[!--colorc--][/span][!--/colorc--]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users