开发者

php check chmod permissions for folder

Hello how can I check if a folde开发者_StackOverflow中文版r has permissions to be writable and readable via php.

I want to check for permissions for include and file_get/put_contents, too.

I'm creating test code to check for permissions.


Check out is_writable och is_readable. They're tailored for exactly this.


did you try chmod() .

EDIT:Then try fileperms

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜