Puoi usare questo escamotage:
Codice PHP:
$ruta = RUTA_FOTO.$cod_city."/".$row[id_noti].".jpg";
if (@getimagesize($ruta)) {
echo "OK";
} else {
echo "KO";
}
Puoi usare questo escamotage:
Codice PHP:
$ruta = RUTA_FOTO.$cod_city."/".$row[id_noti].".jpg";
if (@getimagesize($ruta)) {
echo "OK";
} else {
echo "KO";
}
"Mai discutere con un idiota. Ti trascina al suo livello e ti batte con l'esperienza." (Oscar Wilde)