thomas.madsen Posted June 28, 2010 Share Posted June 28, 2010 Hello all, On http://www.michaelv.org/ one can play around with Windows 3.11. One of the features is that you can use notepad to create a file and the actually save the file onto your computer. How is this done? How does one with text from a text field create a file and then force the download? If this is too complicated to answer in a post, I would be happy if some one had a link to a place that discusses this. Thomas Link to comment https://forums.phpfreaks.com/topic/206071-create-file-then-force-download/ Share on other sites More sharing options...
trq Posted June 28, 2010 Share Posted June 28, 2010 fopen, fwrite & fclose are used to create files. As for forcing a download, there is a simple example in our FAQ/Code snippet repository board. Link to comment https://forums.phpfreaks.com/topic/206071-create-file-then-force-download/#findComment-1078251 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.