• 05-06-2008, 16:59:20
    #1
    iyisite.NET
    Arkadaşlar bunu Siteme Koyduğumda Türke karakter Sorunu veriyor veriyor ne yapmam gerek ?
    http://www.kayabeyi.com/radyodurum.php
    <html> 
    <head> 
    <META HTTP-EQUIV="REFRESH" CONTENT="60"> 
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9">
    <title>Radyo Durumu</title> 
    </head> 
    <body bgcolor="#CC0000">
    <center><? 
    ///---------------------\\ 
    $ip = "ipadresi"; 
    $port = "port"; 
    $sifre = "sifre"; 
    //\---------------------// 
    $d = fsockopen($ip, $port, $err, $errno, 30); 
    if ($d) 
    { 
       fputs($d, "GET /admin.cgi?pass=$sifre&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n"); 
       while (!feof($d)) 
       { 
          $sayfa .= fgets($d,1000); 
       }    
       preg_match("/<SERVERTITLE>(.+)<\/SERVERTITLE>/",$sayfa,$dj); 
       preg_match("/<SONGTITLE>(.+)<\/SONGTITLE>/",$sayfa,$sarki); 
       echo "Dj: $dj[0] <br> Çalan Şarkı: ".urldecode($sarki[0])."<br>"; 
       fclose($d); 
    } else { 
       echo "Şuan Radyo Aktif Değildir."; 
       fclose($d); 
    } 
    ?>
    </center> 
    </body> 
    </html>
  • 05-06-2008, 17:57:50
    #2
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9">


    üstüne

    <meta http-equiv="content-type" content="text/html; charset=windows-1254">

    bu kodu ekle dene
  • 05-06-2008, 18:16:10
    #3
    iyisite.NET
    AKoyun adlı üyeden alıntı: mesajı görüntüle
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9">


    üstüne

    <meta http-equiv="content-type" content="text/html; charset=windows-1254">

    bu kodu ekle dene
    teşekkür ederim kardeşim.