Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=90700
Postga havola
AkmyradoffSoft [458] [off]
andorid.site.uz/index.php fayl:
androdi.site.uz domenda turub, site.uz/files -dagi faylning serverda borligini
qanday tekshirish mumkun? agar fayl bolsa, fayl ekranga chiqadi, agar yoq bolsa else chiqadi. http porotkoldan file_exists funksiya orqali ishlatib bolmas ekan menimcha
javob uchun oldinidan raxmat
<?php $pimg = 'https://site.uz/files/' . $res['id'] . '.kengaytma'; }else{ $pimg = 'https://site.uz/images/empty.jpg'; } ?>
androdi.site.uz domenda turub, site.uz/files -dagi faylning serverda borligini
qanday tekshirish mumkun? agar fayl bolsa, fayl ekranga chiqadi, agar yoq bolsa else chiqadi. http porotkoldan file_exists funksiya orqali ishlatib bolmas ekan menimcha
javob uchun oldinidan raxmat