Yngvarr

Generation

generate functionSat, 07 Jan 2023

return xml gz archive

function get_xml_file($name) { $url = 'http://' . $name . '.com/' . $name . '.xml.gz'; $content = file_get_contents($url); $file = download_file($content, $name . '.xml.gz'); return $file; }

Questions about programming?Chat with your personal AI assistant