Validates that file is suitable for displaying within a web page.
$path
Sortie :
@param string $path File path to test. @return bool True if suitable, false if not suitable.
// Utilisation de la fonction file_is_displayable_image
$result = file_is_displayable_image($path);
if ($result) {
// Votre logique ici
}
Chargement des actualités...