Reply to SplFileInfo

SplFileInfo  new!
by Antonis, 13 years, 4 months ago
I see that mime check is initially handled with fileinfo, which is available for 5.3+ - would it be possible to check with splfileinfo that is available since 5.1.2 so that wider compatibility is achieved (I have not tested this class - I do not know even if it is similar to fileinfo...)?

The default fall back with getimagesize offers great security for images though.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