But I can't get it to work!
I'm using PHP4 so ftp_chmod is not available.
I've tried fiddling with the directory permissions and the permission of the file to 777 (albeit just while playing!) and it just doesn't work. Safe mode is off.
Code: Select all
Warning: chmod(): Operation not permitted in /home/#####/public_html/guestbook/chmodtest.php on line 3Code: Select all
<?php
chmod("config.inc.php",0755);
?>