|
Posted by Tyrone Slothrop on 01/30/07 19:20
I have created a script which attaches form uploaded files to an
email. What security is suggested to prevent attachments which may
contain viruses, etc. from being uploaded? I am running finfo_file()
to determine the mime-types of the files being uploaded, so it should
easy to exclude certain types of files based on this, or the file's
extension.
Also, I would like to send an alternative text with this email. Is
there a good script out there that removes HTML and converts to simple
formatted text?
TIA!
Navigation:
[Reply to this message]
|