recent searches:
include functions ,
variable functions ,
post functions...
If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.
PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.
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.
Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: http://pecl.php.netfileinfo
This extension has no configuration directives defined in php.ini.
There is one resource used in Fileinfo extension: a magic database descriptor returned by finfo_open().
The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at 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.
Another Useful functions:
ref.fileinfo | function.pharfileinfo-setuncompressed | function.pharfileinfo-setmetadata | function.pharfileinfo-setcompressedgz | function.pharfileinfo-setcompressedbzip2 | function.pharfileinfo-iscrcchecked | function.pharfileinfo-iscompressedgz | function.pharfileinfo-iscompressedbzip2 | function.pharfileinfo-iscompressed | function.pharfileinfo-getpharflags | function.pharfileinfo-getmetadata | function.pharfileinfo-getcrc32 | function.pharfileinfo-getcompressedsize | function.pharfileinfo-construct | function.pharfileinfo-chmod | function.fileinode |
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.