I am working on one PHP project, and I am having some files for that. Some of the files have anextension as
What does it mean and how do those files get created?
migrated from stackoverflow.com Dec 21 '12 at 15:13
This question came from our site for professional and enthusiast programmers.
When you are working with files, editing them, the editor(almost all of them) creates a copy of it with names like you provided and does the editing on that file. Upon saving the file the changes are saved to the original files.
These files are generally hidden from the user. You are seeing it probably because the option to
When you quit from your text editor, that temporary file gets deleted.
Finally, You don't need to worry about the creation of those files :)
NOTE: JUST MAKE SURE YOU DON'T UPLOAD THEM TO THE SERVER WHICH CAN BE A SECURITY ISSUE AS DISCUSSED IN THE COMMENTS :)
Those are backup files created by the text editor you are using (or one of the people working on the same project).