File name: test_file.php
File location: /home/nncommunity/www/phpFF/test_file.php
First, I've tried to do the normal
Code: Select all
<?php
chmod("/home/nncommunity/www/phpFF/test_file.php", 0777);
?>I search the Phuse search engine for chmod() help in the forums, and find that some people have been able to successfully chmod a file using exec(). I've tried that, and nope. Not working.
I really don't want to put in FTP support, that's the very last resort, and if I have to, I probably won't go there.
I'm trying to edit a file through a browser, and when I do fwrite("test_file.php", "w+"); is gives me the same "Permission denied".
Any help? Thoughts?
