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

[eluser]jpganz[/eluser]
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??

Thanks!
#2

[eluser]Aken[/eluser]
http://us3.php.net/manual/en/function.chmod.php
#3

[eluser]jpganz[/eluser]
Sorry for the question, I used chmod($file_url, 0644);




Theme © iAndrew 2016 - Forum software by © MyBB