filetype

filetype -- Gets file type

Description

string filetype ( string filename)

Returns FALSE if an error occurs .