<?PHP
$path="\\\\192.168.1.8\\data\\CATEGORY_LIMIT\\1027\\JPN\\1027_1.0.indd_tmp";
if(folder_exist($path)){
echo "ok";
}
else
{
echo "No";
}
exit;
function folder_exist($folder)
{
$folder = str_replace('\\\\', '/', $folder);
// Get canonicalized absolute pathname
$path = realpath($folder);
// If it exist, check if it's a directory
return ($path !== false AND is_dir($path)) ? $path : false;
}
?>
Result : No So I can't delete or rename this folder. This path: "\192.168.1.8\data\CATEGORY_LIMIT\1027\JPN\1027_1.0.indd_tmp" copy to Run -> Enter -> access ok. Why folder_exist not working? How check exist folder?