ゆう's Blog
パーミッションを確認

$dir = 'path/to/directory';

if (is_readable($dir) && is_writable($dir) && is_executable($dir)) {
    echo '読み込み、書き込み、実行のすべての権限があります';
} else {
    echo '必要な権限がありません';
}