xn_is_writable()
xn_is_writable($file)
【功能】
检测文件或目录是否可写,兼容 Windows。
【参数】
$file:文件/目录路径
【用例】
<?php
include "./xiunophp/xiunophp.php";
$file = "./log/";
$r = xn_is_writable($file);
// 结果: TRUE/FALSE
?>
xn_is_writable($file)
检测文件或目录是否可写,兼容 Windows。
$file:文件/目录路径
<?php
include "./xiunophp/xiunophp.php";
$file = "./log/";
$r = xn_is_writable($file);
// 结果: TRUE/FALSE
?>