Reply to Re: Fileinfo

Re: Fileinfo new!
by Paul De Schutter, 11 years, 4 months ago
On PHP 5.3.14 (MAMP PRO) calling finfo_open(FILEINFO_MIME, $path); kills the script with no output if $path = '/usr/share/file/magic'; (class.upload.php line 2771) is used. Setting $path = null (forcing a default fallback value) solves the problem.

https://github.com/paulds/class.upload/tree/development

Regards,
PaulReply

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