当前位置:Gxlcms > PHP教程 > php判断文件是否可写实例代码_PHP教程

php判断文件是否可写实例代码_PHP教程

时间:2021-07-01 10:21:17 帮助过:16人阅读

php判断文件是否可写:

$filename = test.txt;
if (is_writable($filename)) {
echo The file is writable;
} else {
echo The file is not writable;
}
?>

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/486050.htmlTechArticlephp判断文件是否可写: ?php $filename = test.txt; if (is_writable($filename)) { echo The file is writable; } else { echo The file is not writable; } ?...

人气教程排行