I have the following php code which I found here:
function download_xml() { $url = \'http://tv.sygko.net/tv.xml\'; $ch = curl_init($url); $timeo
curl_setopt the CURLOPT_FILE - The file that the transfer should be written to. The default is STDOUT (the browser window)
http://us2.php.net/manual/en/function.curl-setopt.php