Just wrote a great suggestion for extending uploading functionality for WordPress plugin developers. If you developer for WordPress or like to make life easier for those who do, vote up my suggestion:
I was recently writing a script to handle image uploads from users to an Amazon S3 bucket and discovered one of those great IE quirks. Normally when writing an upload script you check for MIME type validity to make sure that the file that a user is uploading is uploading the correct type of file you are expecting to process. Now, I know that MIME types can be spoofed, but it’s still good to check against them to determine file type and prevent a user from accidentally uploading the wrong type of file. In writing the MIME type validation script though, I ran across a problem where versions of IE less than 9 would not detect my MIME type properly.
Continue reading “Image Upload MIME type handling and IE”