[Koha] How to check a file's MIME type in KOHA

Holger Meissner Holger.Meissner at hs-gesundheit.de
Wed Feb 8 21:33:27 NZDT 2017


Hi Rejeesh,

there are a few ways to execute a system command from perl code. You can use
http://perldoc.perl.org/functions/system.html

Not sure if that's the best solution.

Regards
Holger

Rejeesh K.Nair wrote:
> Hi Mark,
> 
> Your sample code meets my requirement. But I need to implement this for each uploading file in KOHA code.
> 
> Regards,
> Rejeesh K.Nair


More information about the Koha mailing list