file-generation

php create file and send as attachment without actually creating the file

I know how to read a file on the server and attach it to an email in PHP, but I wanted to know if I could attach a file that is created by my script but not created on the server (kinda like a temp file). So create file in memory and attach it to email. Bonus: might need to create multiple files as well, would this be too much for the...

How do I create an Excel .xlsx file on-the-fly on ASP.NET Webforms site ?

I need to export timetable from the database to Excel file on-the-fly on ASP.NET WebForms site. When user clicks "Export to Excel" link, he gets this file generated. I don't want to generate it explicitly and store on a server to provide download-on-a-demand, because then it'll be hundreds of files. I have all the data to do it, so the q...

Generate and download a text file in javascript

All my research so far suggests this can't be done, but I'm hoping someone here has some cunning ideas. I have a form on a website which allows users to bulk upload lots of URLs to add to a list on the server. There's quite a lot of server-side processing to do on each URL, so to avoid timeouts and to display progress, I've implemented ...