Hi I need to do a image upload script using PHP. Please let me know how can I do it with directory permission 0755... Please help me......
My code is working if I change the directory permission to 0777 in which images are saved .. Please help me...
Thanks
Rajeesh

Member Avatar for diafol

Sounds like you sorted it out by chmodding to 0777. As far as I know, 0755 means that it's protected. What's wrong with setting to 0777, copying/uploading file and then chmodding back to 0755? If you could upload to a 0755, I think that would be a massive security risk.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.