PHP Manual

  • English French German Portuguese Spanish
  1. Function Reference
  2. File System Related Extensions
  3. Fileinfo
  4. Introduction
Fileinfo Introduction Installing/Configuring Predefined Constants Fileinfo Functions finfo
  • Fileinfo
  • Installing/Configuring

Introduction

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.

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.