My host doesn't support fsockopen, it was disabled a few weeks ago. How should I modify the code? <?php // Last update: May 2, 2005 8:45 pm function file_get_contents_an ($url) { if (substr ($url, 0, 7) == 'http://') { $url = parse_url ($url); $handle = fsockopen ($url['host'], 80); fwrite ($handle, "GET $url[path]?$url[query] HTTP/1.0\r\nHost: $url[host]\r\nConnection: Close\r\n\r\n"); while (!feof($handle)) { $string .= fread($handle, 40960); } $string = explode ("\n", $string); $string = array_pop ($string); Somebody mentioned the curl function, anybody help me?