PHP filetype May 11, 2012 Pramod T P It returns file type Example <?php echo filetype(“test.txt”); ?> Output file