Why can I only open files in C:\\windows when using file_get_contents to open a file?
L'z92017-11-24 19:32:47
0
2
1159
Why when I use file_get_contents() to open a file, I can only open files in C:\\windows, but not elsewhere. I put the test file somewhere else. I am afraid that it will modify other files in windows.
It can be opened. If it is not in the same directory, you must write the complete path name, not just the file name.