Answers for "how to get file type using 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 get file type using php"

Browse Popular Code Answers by Language