string guess(string $path)
Guesses the mime type of the file with the given path.
string guess(string $path)
Guesses the mime type of the file with the given path.
string | $path | The path to the file |
string | The mime type or NULL, if none could be guessed |
FileNotFoundException | If the file does not exist |
AccessDeniedException | If the file could not be read |
Designed by : w10schools
service@w10schools.com
Please login to continue.