Reply to Re: Feature Request - upload file extension check like mime check

Re: Feature Request - upload file extension check like mime check new!
by colin, 15 years, 2 months ago
I am not sure this would be an useful feature. The file extension can be changed easily, and thus is not a reliable way of filtering files. The class has strong built-in MIME type detection features, and using MIME types is a much more reliable way of allowing or refusing precise types of files.

Could you enlighten me as to why filtering on file extension would be useful considering that you can already do the same (and better) with MIME types?Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important