andy@andymacbookpro:~/downloads$ ll Wz_1223.csv
-RWXRWXRWX 1 Andy staff 42082362 14:09 wz_1223.csv*
andy@andymacbookpro:~/downloads$
Warning:fopen (/users/andy/downloads/wz_1223.csv): Failed to open stream:permission denied in/usr/local/webdata/ andy/fanli/job/job1.php on line
From here: http://stackoverflow.com/questions/10376048/fopen-permission-denied-on-a-file-with-777-permissions
See this sentence:
I'll have a look at whether Safe mode is enabled. As for the folder, the permissions is also set to 777. –personne3000 2 ' at 16:37
Then my file is here:
/users/andy/downloads/wz_1223.csv
I put his MV in the/usr/local/webdata/directory.
And then you can ~ ~ ~ sure is the permissions of the directory problem ...
The above on the introduction of PHP using fopen error failed to open Stream:permission denied, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.