PHP uses file_get_contents on Linux servers to read files on the server to return flase
Reply content:
PHP uses file_get_contents on Linux servers to read files on the server to return flase
File_get_contents is an open read close process
To see if this target file has permissions that are read by other groups or members
777, the first 7 represents the permissions of the owner of the file, the second 7 represents the permissions of the group to which the file belongs, the third 7 represents the permissions of the other user, 7=4+2+1, and the permissions in Linux can be described by numbers. The following are the specific expressions:
4, the user ID is set at execution time, and is used to authorize the file owner-based process instead of the user who created the process.
2, when executed, sets the user group ID, which is used to authorize the process based on the group of files, rather than on the user who created the process.
1, set the sticky bit.
Path error
Check that the file path is correct already has permission to read the file