bank maumalat

bank maumalat

Kurs mata uang Bank Maumalat ada di http://www.muamalatbank.com/home/mod/kurs.

Buat file baru bernama bankmaumalat, lalu tambahkan script dibawah ini

<?php
function fungsiCurl($url){
     $data = curl_init();
     curl_setopt($data, CURLOPT_RETURNTRANSFER, 1);
     curl_setopt($data, CURLOPT_URL, $url);
         curl_setopt($data, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6");
     $hasil = curl_exec($data);
     curl_close($data);
     return $hasil;
}
$url = fungsiCurl('http://www.muamalatbank.com/home/mod/kurs');
$pecah = explode('<table width="613" border="1" cellpadding="5">',$url);
$pecah2 = explode('<p>&nbsp;&nbsp;* Informasi ini dapat berubah sewaktu-waktu tanpa ada pemberitahuan sebelumnya</p>',$pecah[1]);
echo "<table border=1>";
print_r($pecah2[0]);
echo "</table>";
?>

screnshot tampilan script diatas
kurs mata uang bank maumalat

Download

Download “Kurs Mata Uang Bank Maumalat”

bankmaumalat.tar.gz – Downloaded 1146 times – 178.00 B

Last Updated on 30 November 2017 by

Join the Conversation

1 Comment

Your email address will not be published. Required fields are marked *