PHP Reference: Check Files and Folders Using is_file(); and is_dir();

In this video, I’ll show you how to check that a file is a file and a folder is a folder using is_file and is_dir.

 

is_file 👉🏾 https://www.php.net/manual/en/function.is-file.php

is_dir 👉🏾 https://www.php.net/manual/en/function.is-dir.php

Comments