In this part of the PHP tutorial we will learn about the function is_writable in context of file handling. And also we will see the example related to the is_writable function
In this part of the PHP tutorial we will learn about the function is_writable in context of file handling. And also we will see the example related to the is_writable function
Syntax for PHP is_writable Function
bool is_writable(file_name)
Code
<?php
$a=is_writable("c:/rose1/ram.txt");
if ($a)
echo "file is
writable ";
else
echo "file ss not
writable ";
?>
Output
file is writable