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 to upload large files like mp3 songs in phpWould like to create a web page by using the contents of file#1 as input, writing contents of a variable as content, and ending with contents of file#2. Would you please help me learn how to do this? Here is my attempt: $in1 = 'input1.html'; $in2 =
how can we erase some data in a txt file after some bytes
How can i upload large files like mp3 songs using php?
Getting first five lines from a file
