Answers for "how to determine file type in php"

PHP
9

php get filetype

<?php
echo filetype('/etc/passwd');  // file
echo filetype('/etc/');        // dir
?>
Posted by: Guest on February-03-2021

Code answers related to "how to determine file type in php"

Browse Popular Code Answers by Language