Konu
php image yardim
27-12-2021, 23:18:06
#2
Misafir
file_exists ile halledebilirsin hocam, misal
if(!file_exists($resimyolu)) { echo 'resimyok.png';}else { echo $resimyolu; }
yada
$resimyolu = (file_exists($resimyolu)) ? $resimyolu : 'resimyok';