Where is a text file i created kept?
If you don't specify anything then it should be in the same directory as you are running PHP from.
Remember if you are running the script on a web server and want to save in a particular directory, then usually you will need to set the full path to the file.
Comment on this Question and Answer >>>
ASK A QUESTION
More files PHP Questions
how do i upload a file to databaseWhat is the use of file in php?
How can I view a Word document in a PHP page?
Getting first five lines from a file
How can i upload large files like mp3 songs using php?
