Jump to content


Photo

PHP Email Attachments


  • Please log in to reply
3 replies to this topic

#1 theteenb

theteenb
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 14 July 2006 - 02:22 AM

Hi. I recently made a submission form for my site, and I have a field for people to upload files. However, I dont want the file to be uploaded. I want the file to be attached to an email I have the form(processing it) send. How would I do that?

#2 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 14 July 2006 - 02:27 AM

See this page on file uploads:

http://us3.php.net/m...file-upload.php

And this page on attachments in email:

http://us3.php.net/m...nction.mail.php

You may also want to check out phpmailer (http://phpmailer.sourceforge.net/) as a much easier way of sending email with attachments.

#3 theteenb

theteenb
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 14 July 2006 - 02:47 AM

ok would people please stop just pointing me to places that give me information that I can't understand! I no absolutely NOTHING about PHP accept to edit the html parts. Could someone just post the code for it?

#4 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 14 July 2006 - 03:16 AM

You posted on a PHP Help board asking for help. If you want someone to write the code for you post in the Freelancers board.

Ken




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users