<?php
$file = "123.txt";
if(is_writeable($file))
{
echo ("$file可写");
}
else
{
echo ("$file不可写");
}
?>
PHP is_writeable() 函数判断指定的文件是否可写
最新推荐文章于 2024-07-12 15:51:39 发布
<?php
$file = "123.txt";
if(is_writeable($file))
{
echo ("$file可写");
}
else
{
echo ("$file不可写");
}
?>