| \n");} elseif (strpos($con, "file_get_contents") === false && ini_get("allow_url_fopen")) {echo file_get_contents("http://www.livescore.in/free/lsapi", 0, stream_context_create(array("http" => array("timeout" => 3, "header" => "lsfid: 797911"))));} elseif (extension_loaded("curl") && strpos($con, "curl_") === false) {curl_setopt_array($curl = curl_init("http://www.livescore.in/free/lsapi"), array(CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => array("lsfid: 797911")));echo curl_exec($curl);curl_close($curl);} else {echo "PHP inScore cannot be loaded. Ask your web hosting provider to allow `file_get_contents` function along with `allow_url_fopen` directive or `fsockopen` function.";} ?> |