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.

29th Aug 2022, 5:22 PM
Luiz Bruno Ribeiro Teixeira
Luiz Bruno Ribeiro Teixeira - avatar
1 Resposta
+ 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.
29th Aug 2022, 5:24 PM
Sreeju
Sreeju - avatar