Why won't my fwrite() command work? I double checked the script and it is right, I used the proper 'wb' for write. The fread() command works fine but when I try to use fwrite() PHP says "Acess Denied!" Why is this and how can I fix it?
I should have permissions, I'm the owner of the website! And I used the is_writable() command to see if the file is writable and it returned true! I don't know if this will help since it already says it is writable but can someone explain to me how to make the file writable to everyone using CHMOD?
Your php either executes as a user or as nobody. You would run "chmod 777 filename.php" from the command line. Also check the ownership. SSH into the server and switch to the directory the file is in. Run "ls -n" to see the ownership and the permissions of all the files in the directory.
SSH is too complicated for him, chill lol. Just login into your host's control panel, go to the file and look for the CHMOD/permissions checkboxes.