is_writable
Tells whether the filename is writable
&reftitle.description;
boolis_writable
stringfilename
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.
Keep in mind that PHP may be accessing the file as the user id
that the web server runs as (often 'nobody').
&reftitle.parameters;
filename
The filename being checked.
&reftitle.returnvalues;
Returns &true; if the filename exists and is
writable.
&reftitle.errors;
&fs.emits.warning.on.failure;
&reftitle.examples;
is_writable example
]]>
&reftitle.notes;
¬e.clearstatcache;
&tip.fopen-wrapper.stat;
&reftitle.seealso;
is_readable
file_exists
fwrite