2) { // To ignore . and .. directories if($first_call) { // Root Directory $dirRep = str_replace("\\","/",$directory); $link = str_replace("[link]", "$dirRep/", $return_link); $link = str_replace("//","/",$link); $fileAtts = ""; if ($serverType=="Linux") { $ownerInfo = posix_getpwuid(fileowner($link)); $chmodInfo = substr(sprintf('%o', fileperms($link)), -4); if ($ownerInfo['name']!="nobody"&&(substr($chmodInfo, -1)!=2&&substr($chmodInfo, -1)!=3&&substr($chmodInfo, -1)!=6&&substr($chmodInfo, -1)!=7)) { $fileAtts = ""; } } $fileManager = "