Source Code:
(back to article)
<?php $file = '/path/to/file'; if (is_writable($file)) { echo 'The file is writable'; } else { echo 'The file is not writable'; }
Result:
Report an issue