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.
ASK A QUESTION
More files PHP QuestionsHow do i keep my site menu in one file?
Getting first five lines from a file
How can i print a file without opening it ?
How can I export data into Word/Excel documents?
How do I compare strings in two file and return similar string in another file?