Hi, I think with that permissions you give right of writing on file. So that can be very much harmful for your site.
why can I only use fwrite functions when file is chmodded 666 on some servers, and am able to write normally when file is chmodded 644 on others?
Or let me rephrase, I am with hostmonster, and I can fwrite to my own server when file has permissions set to 644, but it seems that on other servers, I must set to 666 to have php fwrite work correctly. Can anyone help me or tell me why this might be? adbox
It just depends on how they setup the apache to run. It's not really a big deal just change the permissions of the file and move one.