jak vygenerovat soubor ke stazeni?

header('Content-type: application/nxs');
header('Content-Disposition: attachment; filename="session.nxs"');
readfile('pharaon.nxs.console.head');