My code has created and written to several files in an assigned folder on my web server. I wanted to access these files to edit them manually so I tried using an ftp clent. (cute ftp) However I cannot alter or delete these files and I can't change permissions. My isp said the code was writing code with no ownership so I wasn't allowed to alter them. What did he mean and how can I overcome this problem?
chmod() after you write the file?
get root privages on the server and chown the files so that you can edit them. its simply a matter of you not having any permissions in unix to edit the files.
And if you do get root priviliges on the server, let me know who they are, I could use a server company like that! 😉
What are the arguments to the chmod() command?
THis should explain everything for you: http://www.php.net/manual/en/function.chmod.php
Thanks.