|
Posted by NC on 01/12/06 18:41
Gernot Frisch wrote:
>
> can I send a file someone uploads with a html-form
> to an email recipent?
Yes, you can.
> How would I do this?
There are really two questions here. The first question is, where can
you find the file that the user just uploaded via a form? Read the PHP
Manual:
http://www.php.net/features.file-upload
The second question is, having located the file, how do you attach it
to an e-mail message? The easiest way to do it is to use a third-party
library. My preference is to use phpMailer:
http://phpmailer.sf.net/
Other people may have their own favorites.
Cheers,
NC
Navigation:
[Reply to this message]
|