php判断文件是否可写实例代码
php判断文件是否可写:
<?php
$filename = test.txt;
if (is_writable($filename)) {
echo The file is writable;
} else {
echo The file is not writable;
}
?>
/phprm/23612.htmlwww.phpzy.comtrue/phprm/23612.htmlTechArticlephp判断文件是否可写实例代码 php判断文件是否可写: ?php $filename = test.txt; if (is_writable($filename)) { echo The file is writable; } else { echo The file is not writable; } ?...
PHP之友评论