Hi all
I recently created a system that allowed people to create and write to files located on a server. That in itself presented no problems.
However my problem is that when the files are created, it gives them a rw-r--r-- permissions
The code below is what I am using to create the file
$file_pointer2 = fopen($file_name2, "a+");
Is there anyway I can use this existing code but also to set the permissions of the file so that I can log into the server (via ftp) and delete them, as this option isnt available with the current file settings