Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Attachment To "Contact Us"


nug

Recommended Posts

Posted

I would like to be able to allow my clients to attach attachments to e-mails to me. As a security analysis, I know it is not the best idea but there is a reason for doing so, and yes I have multiple computers so none of these e-mails will touch the actual server.

 

I figure it can be done with the pre-existing e-mail and just add a bit to allow searching and attaching of a document, but after searching for php scripts to allow it I have been ever more confused.

 

Any ideas are welcome,

Thanks

Posted

I am looking for the same thing, if I do find it I will let you know, I put up a post for it myself good luck to you too

Posted

you use the header

'content-disposition: attachment; filename="filename_here"';

for the attachment. You need to specify the type of attachment too with the content-type header and transfer encoding.

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...