test.txt is readable
test.txt is writable

 

test.txt is not executable
stat(test.txt)
<?php
if (is_readable("test.txt")) {
    print "test.txt is readable";
    print "<br />";
} else {
    print "test.txt is not readable";
    print("<br />");
}
if (is_writable("test.txt")) {
    print "test.txt is writable";
    print "<p>&nbsp;</p>";
} else {
    print "test.txt is not writable";
    print("<br />");
}
if (is_executable("test.txt")) }
    print "test.txt is executable";
    print "<p>&nbsp;</p>";
} else {
    print "test.txt is not executable";
    print("<br />");
}

print "stat(test.txt)";
?>
test.txt