<?php
$picture = file_get_contents("https://kuaza.com/wp-content/uploads/2015/05/108641_anlamli_ask_resimler_3-696x522.jpg");
header('Content-type: image/jpeg');
echo $picture;
?> php yardim lütfen!
11
●129
- 26-12-2021, 17:56:38arkadaşlar herhangi bir resim url sini tarayıcıda yazdımak istiyorum ama olmuyor..yardımcı olursanız sevinirim..kodum şöyle:
- 26-12-2021, 18:05:44hedef url adresindeki resmi göstermek istiyorsanızERKOM adlı üyeden alıntı: mesajı görüntüle
$url = "https://kuaza.com/wp-content/uploads/2015/05/108641_anlamli_ask_resimler_3-696x522.jpg"; <img src="<?php echo $url; ?>">
- 26-12-2021, 18:32:45$picture = file_get_contents("https://kuaza.com/wp-content/uploads/2015/05/108641_anlamli_ask_resimler_3-696x522.jpg");ERKOM adlı üyeden alıntı: mesajı görüntüle
$img = 'ornekresim.png';
file_put_contents($img, file_get_contents($picture));
echo "<img src='ornekresim.png'>"; - 26-12-2021, 19:10:44aynen hocam.. kodunuzu denedim beyaz ekran çıktı ama..canyucel adlı üyeden alıntı: mesajı görüntüle
- 26-12-2021, 19:13:14Hocam echo yerine dosyayı indirip şu şekilde dener misin?ERKOM adlı üyeden alıntı: mesajı görüntüle
readfile('dosyayolu');