Reinventing the wheel every time I need to do a site with file upload is getting a bit old. There must be a better way. I've looked for a php uploader class but alot of them seem incomplete, poorly documented, or just plain sketchy.
I'm looking for something that:
- MIME Type Checking & Reporting
- File Extension Validation (Make sure it matches the real MIME type)
- Ease of use... pass in an element from the files superglobal and just have a simple object to deal with from that point
There must be something up to the task... any thoughts?