Kode PHP untuk Mengambil File/Data di Website Lain | file_get_contents

<?php

$kompas = file_get_contents('https://www.kompas.com');

echo'
'.$kompas.'

'
?>

Maka tampilan dari php diatas adalah seluruh isi dari kompas.

0 Response to "Kode PHP untuk Mengambil File/Data di Website Lain | file_get_contents"

Posting Komentar