Hello, how can I check if a folder has permissions to write and read through php.
I want to check permissions for include and file_get / put_contents.
I am creating test code to check permissions.
You tried chmod () .
EDIT: Then try fileperms
Check out is_writable och is_readable , They are specially designed for this.