I have a database of contracts. I want the people entering the information to be able to upload files to the website and the name of the file to the database. I have that, but I'm caught on the "accept" attribute. I want them to be able to upload most text oriented types of files (txt, rtf,ppt,word, etc.) but since these are linked for download, I'd like that they not be able to upload anything that might hurt the end-user on download, so at the very least, no executables. Sure I can check the links but until I do, several downloads may occur.
So, how would I structure an "accept" so that it does this? Also, which other types of files should I exclude? If it's an include-only list then I don't have to exclude but I don't know which file types to enter ahead of time because I may know a few of the file types ahead of time, but probably not all of them. So I'd rather exclude, I think. Any comments? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217807 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

