I have a form that allows user to send a message with an image attached using a file input field. When the mail sends, it attaches the temp file (.tmp) for the image. Is there something I have to do with the image before sending it?
Alright. I want to allow users to send only gif or jpeg filetypes. Is there any way to verify this before saving the image so I can display an error message?
oh, but if a user uploads a filetype that isn't specified there, it gives a funky looking coldfusion error. I want to be able to display my own before this happens.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.