is_writable()
is_writable - Tells whether the filename is writable
Syntax
bool is_writable (
string $filename)
Arguments
- filename - The filename being checked.
Description
Returns TRUE if the filename exists and is writable. The filename argument may be a directory name allowing you to check if a directory is writable.
Version
PHP 4, 5
Return value
Returns TRUE if the filename exists and is writable.