Welcome Guest, Not a member yet? Register   Sign In
how to avoid changing permissions on file copy?

Hi!! I am using Codeigniter for make a copy of some stuffs.. right now I am making a copy of an image... still , the original image has permission 644, but after I copy, the copy gets the permissions 666... what u think I could do?? I need to have same permissions 644, any idea??



Sorry for the question, I used chmod($file_url, 0644);

Theme © iAndrew 2016 - Forum software by © MyBB