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
精彩评论