I am a novice with PHP and am looking for a way to create a new file on the server, write text to it, then save it for downloading late. Could someone please give me advice (preferably code snippets) on how to do this? Thanks!
use fopen() , fwrite(), fclose() to do it. You could look up the functions at php.net.
What permissions do I need on my server to create a new file? I get an error whenever I try. I have access to a Windows box and a Linux box and it doesn't work on either.
You need writing-permissions! Without them you cannot write/create any files...🙁