• 25-11-2012, 01:59:44
    #1
    livescore.in sitesinin kendi sağladığı canlı maç sonuçları hizmetinin kodlarıdır.

    <?php
    if (strpos($con = ini_get("disable_functions"), "fsockopen") === false){
    if (is_resource($fs = fsockopen("www.livescore.in", 80, $errno, $errstr, 3)) && !($stop = $write = !fwrite($fs, "GET /tr/free/lsapi HTTP/1.1\r\nHost: www.livescore.in\r\nConnection: Close\r\nlsfid: 634643\r\n\r\n"))) {
    $content = "";
    while (!$stop && !feof($fs)) {
    $line = fgets($fs, 128);
    ($write || $write = $line == "\r\n") && ($content .= $line);
    }fclose($fs);$c = explode("\n", $content);
    foreach ($c as &$r) {
    $r = preg_replace("/^[0-9A-Fa-f]+\r/", "", $r);
    }
    $content = implode("", $c);
    } else
    $content .= $errstr."(".$errno.")<br />\n";
    } elseif (strpos($con, "file_get_contents") === false && ini_get("allow_url_fopen")) {
    	$content = file_get_contents("http://www.livescore.in/tr/free/lsapi", 0, stream_context_create(array("http" => array("timeout" => 3, "header" => "lsfid: 634643 "))));
    	} elseif (extension_loaded("curl") && strpos($con, "curl_") === false) {
    	curl_setopt_array($curl = curl_init("http://www.livescore.in/tr/free/lsapi"), array(CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => array("lsfid: 634643 ")));
    	$content = curl_exec($curl);
    	curl_close($curl);
    	} else {
    	$content = "PHP inScore yüklenemiyor. Hosting hizmet sunucunuzdan `file_get_contents` fonksiyonunun `allow_url_fopen` direktifi veya `fsockopen` fonksiyonu ile birlikte çalışmasına izin vermesini isteyin.";
    	}
    	echo $content;
    ?>
  • 21-12-2012, 16:34:58
    #2
    paylaşım için teşekkürler
  • 19-04-2013, 17:04:29
    #3
    Üyeliği durduruldu
    livescore.in domain'e lisanslı bir şekilde veriyor o kodu
  • 15-10-2013, 00:30:03
    #4
    iddaasonuclari.com/sitene-canliskor-ekle adresinden de türkçe ve livescore.in deki gibi reklamlı değil reklamsız canlı skor kodu alabilirsiniz.