is_writable() tells you whether you can write to a file. : is_writable « File Directory « PHP






is_writable() tells you whether you can write to a file.

 
<?
if ( is_writable( "data.txt" ) ) {
  print "data.txt is writable";
}
?>
  
  








Related examples in the same category

1.is_writeable
2.Testing for write permission