Forum Moderators: coopster

Message Too Old, No Replies

Send Post Data in attachment?

         

briesm

2:15 pm on Jun 14, 2005 (gmt 0)

10+ Year Member



Is it possible, using a post form, to send the data via an emailed attachment? Basically, I was wondering if I could put the data into a .html attachment which would be printer friendly and editable.

mcibor

6:01 pm on Jun 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you ask if you can attach sth to mail, then yes that is true. Have a look at the mail function at www.php.net and look into comments - there's a link to class that can send attachments.

The way your form looks like is a completely different matter. With html it is very hard to achieve good print, however you can always write a txt, rtf, doc or even pdf with php and get the results you need.

Hope this sheds some light
Michal Cibor