Jump to content


Photo

Php acess rights mask?


  • Please log in to reply
2 replies to this topic

#1 webmobster

webmobster
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 14 May 2006 - 05:21 PM

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

#2 _will

_will
  • Members
  • PipPip
  • Member
  • 25 posts

Posted 14 May 2006 - 05:47 PM

[!--quoteo(post=373784:date=May 14 2006, 01:21 PM:name=webmobster)--][div class=\'quotetop\']QUOTE(webmobster @ May 14 2006, 01:21 PM) View Post[/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.

#3 webmobster

webmobster
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 14 May 2006 - 07:15 PM

I am not using a unix and what web based control pannel would you recommend




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users