Hi, I'm very new to PHP.
I got lucky on the first 2 servers I made this editor app for and now I can't get it to work properly on 2 others. I am trying to fopen any local files on the servers I maintain with my own "editor" but I get the following errors. I would rather not have to manually chmod every directory and file by hand just to make it work! BTW, I chmod the entire root directory to 777 but newly uploaded files are defaulting to 644 and seem to need to be at least 646 to be "fopen"able.
"Warning: fopen(../../experience/index.html) [function.fopen]: failed to create stream: Permission denied in
/home/shinymac/public_html/_zbox/phpeditor/save.php on line 43"
This warning comes from my "save file" page after the edits have been made and approved. Here is the code without any attempts at chown? or chmod since I do not know how to do it properly or even what an really owner is.
Thanks for your helping me with this. If you need any more info let me know!
- Paul