How to use the PHP filetype() Function

Ads

 
 

Share on Google+Share on Google+

Nadeem Kumar
How to use the PHP filetype() Function
1 Answer(s)      6 years and 6 months ago
Posted in : PHP

Hi,

What is the use of filetype() Function in php programming. Can anyone give any online example of the PHP filetype() Function.

Thanks,

Ads
View Answers

March 8, 2011 at 10:48 AM


Hi,

The PHP filetype() Function is use to find file type of the give file name in string form. This PHP filetype() Function will return the file type of a specific file name or directory.

Thanks


Ads