<?php
$filename = 'temporary_files/';if (is_writable($filename)) {
echo 'The file is writable';
} else {
echo 'The file is not writable';
}if(file_exists($filename))
{
echo "The file exists";
}
else
{
echo "The file does not exist";
}
?〉
结果是
The file is not writable
The file exists
,那怎么设置才能让文件夹writeable?
$filename = 'temporary_files/';if (is_writable($filename)) {
echo 'The file is writable';
} else {
echo 'The file is not writable';
}if(file_exists($filename))
{
echo "The file exists";
}
else
{
echo "The file does not exist";
}
?〉
结果是
The file is not writable
The file exists
,那怎么设置才能让文件夹writeable?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货