| PHP Ръководство | ||
|---|---|---|
| Предишна страница | Следваща страница | |
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.
Информация относно инсталирането на това PECL разширение може да се намери в главата от ръководството Инсталиране на PECL разширения. Допълнителна информация, като нови издания, изтегляния, изходни файлове, информация за поддръжката и CHANGELOG може да се намери тук: http://pecl.php.net/package/fileinfo
Това разширение няма дефинирани конфигурационни директиви в php.ini.
There is one resource used in Fileinfo extension: a magic database descriptor returned by finfo_open().
Константите по-долу са дефинирани в това разширение и ще бъдат налични единствено, когато това разширение е компилирано в PHP или динамично пуснато по време на изпълнение.
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.
| Предишна страница | Начало | Следваща страница |
| fdf_set_version | Начало на раздела | finfo_buffer |