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.
Diese Erweiterung definiert keine Konfigurationseinstellungen in der php.ini.
There is one resource used in Fileinfo extension: a magic database descriptor returned by finfo_open().
Folgende Konstanten werden von dieser Erweiterung definiert und stehen nur zur Verfügung, wenn die Erweiterung entweder statisch in PHP kompiliert oder dynamisch zur Laufzeit geladen wurde.
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.
Zurück | Zum Anfang | Weiter |
fdf_set_version | Nach oben | finfo_buffer |