Jump to content

Archived

This topic is now archived and is closed to further replies.

webmobster

Php acess rights mask?

Recommended Posts

How do you set for a certain/any directory rights for a php script to read, write or create files?

Share this post


Link to post
Share on other sites
[!--quoteo(post=373784:date=May 14 2006, 01:21 PM:name=webmobster)--][div class=\'quotetop\']QUOTE(webmobster @ May 14 2006, 01:21 PM) [snapback]373784[/snapback][/div][div class=\'quotemain\'][!--quotec--]
How do you set for a certain/any directory rights for a php script to read, write or create files?
[/quote]

Usually on a *nix box you need to give the Apache daemon the permissions to access and write to the directory. You can use the chmod command to set the proper permissions if you have shell access, and most web control panels give you the ability to change permissions.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.