I'm generating a HTML / Javascript page using PHP.
I'd like to offer to my users, after the preview of the page, the chance to save / download, programmatically (not interactively using browser functionalities ....), the code of this HTML / Javascript page.
I've tried to search on the web for any examples but nothing appears.
Any suggestion / example? Thank you very much in advance!
Cesare