I'm having problems editing files with php... I have looked and the permissions are correct! what should I try? I can't even read the file. The location to the file is correct. The owner is apache and it has 777
How about: 1. FTP the files back to your hard drive 2. edit on your hard drive 3. FTP them back to your server Editing live is asking for trouble.
Are you trying to write a PHP that opens a file to display for editing and saving a la a custom CMS admin section? If so, we'd need a few more details, maybe some code snippets.