controllare se un file esiste in php code example
Example: verificare esistenza file in php
if( file_exists("percorso-completo/file-o-immagine.jpg")) {
//the existing file
}else{
//the file does not exist
}
if( file_exists("percorso-completo/file-o-immagine.jpg")) {
//the existing file
}else{
//the file does not exist
}