0
HOW TO IDENTIFY A FILE WITH PHP
Come on, in a situation I have a private server, and I want to turn it into a "google drive".. but I wanted it to show the folders and file formats... All this in php Thanks for anyone who has any ideas.
1 Answer
+ 2
Use the file_exists() function to check if a file exists. Use the is_file() function to check if a path is a regular file, not a directory, and that file exists. Use the is_readable() function to check if a file exists and readable.