Uzaktan Veri Çekmek Lütfen Yardım |
24 Mesajlar | 3.677 Okunma |
date_default_timezone_set('Europe/Istanbul');
if(date('H')>17){
$bugun = date("Y-m-d");
$cevir = strtotime('+1 day',strtotime($bugun));
$get = date("Y-m-d",$cevir);
}else{
$get= date('Y-m-d');
}
$url = 'http://www.malatyaeczaciodasi.org.tr/nobetci_eczaneleri_yazdir.php?gunun_tarihi='.$get;
$icerik = file_get_contents($url);
$icerik = str_replace('','',$icerik);
$icerik = str_replace('P.MsoNormal {
FONT-SIZE: 12pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; margin-left:0cm; margin-right:0cm; margin-top:0cm; margin-bottom:0pt
}','',$icerik);
$icerik = str_replace('','',$icerik);
$icerik = str_replace('Eczane Nöbet Listesi