Yngvarr

Generation

generate functionSat, 07 Jan 2023

return xml gz archive

function get_xml_archive($target) { $xml = get_remote_data($target); $file_name = tempnam(sys_get_temp_dir(), 'xml'); file_put_contents($file_name, gzencode($xml)); return $file_name; }

Questions about programming?Chat with your personal AI assistant