Is it possible to include the current pecl extension fileinfo.
It is just silly not having the ability to verify a file type as a
standard feature. This was discussed earlier and it was thought to
have some merit. Can we make it happen?
Kevin
Is it possible to include the current pecl extension fileinfo.
It is just silly not having the ability to verify a file type as a
standard feature. This was discussed earlier and it was thought to
have some merit. Can we make it happen?
I am all for it, but for that to do we need to make the data file
embedded first (like the timezonedb).
regards,
Derick
I'm also very in favor of this, though I like it much better if it would
use the same config file as file
uses. Otherwise it's quite confusion
where to config magic and hard to understand why the result differs.
Arnold
Derick Rethans wrote:
Is it possible to include the current pecl extension fileinfo.
It is just silly not having the ability to verify a file type as a
standard feature. This was discussed earlier and it was thought to
have some merit. Can we make it happen?I am all for it, but for that to do we need to make the data file
embedded first (like the timezonedb).regards,
Derick
I'm also very in favor of this, though I like it much better if it would use
the same config file asfile
uses. Otherwise it's quite confusion where to
config magic and hard to understand why the result differs.
The idea is to embed the database so that you don't have to configure it
- that's currently the big problem with the current (deprecated)
solution.
regads,
Derick
I understand, but on most (linux) systems libmagic is already installed
and fully configured. Perhaps a good solution would be if you would be
able to specify the configuration path in php.ini.
Arnold
Derick Rethans wrote:
I'm also very in favor of this, though I like it much better if it would use
the same config file asfile
uses. Otherwise it's quite confusion where to
config magic and hard to understand why the result differs.The idea is to embed the database so that you don't have to configure it
- that's currently the big problem with the current (deprecated)
solution.regads,
Derick
Derick Rethans wrote:
I'm also very in favor of this, though I like it much better if it would use
the same config file asfile
uses. Otherwise it's quite confusion where to
config magic and hard to understand why the result differs.The idea is to embed the database so that you don't have to configure it
- that's currently the big problem with the current (deprecated)
solution.
I have added fileinfo as a to be discussed item on the 5.3 todo list:
http://oss.backendmedia.com/PhP53
regards,
Lukas