The functions in this module try to guess the content type and encoding of a file by looking for certain magic byte sequences at specific positions within the file. While this is not a bullet proof approach the heuristics used do a very good job.
magic_open library is needed to build this extension.
Uddybende information så som nye udgivelser, downloads, kildekoder, vedligeholder information samt en CHANGELOG, kan findes her: http://pecl.php.netfileinfo
Denne udvidelse har intet konfigurations-direktiv defineret i php.ini.
There is one resource used in Fileinfo extension: a magic database descriptor returned by finfo_open().
Konstanterne nedenunder er defineret af denne udvidelse, og vil kun være tilgængelige når denne udvidelse enten er blevet kompileret ind i PHP eller dynamisk indsat under runtime.
No special handling.
Follow symlinks.
Return a mime string, instead of a textual description.
Decompress compressed files.
Look at the contents of blocks or character special devices.
Return all matches, not just the first.
If possible preserve the original access time.
Don't translate unprintable characters to a \ooo octal representation.