$headers = "GET /livescores.php?id=759&tz=0.0&color=blue&country=France HTTP/1.0\r\nUser-Agent: ScoresToSMS plugin/1.0\r\n\r\n"; $fp = fsockopen("www.scorestosms.com", 80, $errno, $errmsg, 30); if($fp) { fwrite($fp, $headers); $resp=""; while(!feof($fp)) { $resp .= fgets($fp, 1024); } fclose($fp); $neck = strpos($resp,"\r\n\r\n"); $head = substr($resp,0,$neck); $body = substr($resp,$neck+4); print $body; } ?>