我想使用 PHP 创建阿拉伯语文件夹或文件,但使用此代码时我总是收到奇怪的字母`
$location = "d:/test" ; // Your Location
$foldername = "عربى" ; // Your Folder Name
$path = $location . "/" . $foldername ;
if (!is_dir ( $path )) {
if(is_writable($location))
{
echo $path."<br>";
mkdir ($path, 0777 );
}
else
{
die("You don't have permission to create folder");
}
}