inc.php
/* Check if the two files/directories are the same */
Check if the two files/directories are the same
Check if the two files / directories are the same
function samefd($p1,$p2)
    {
        $p1.='/';$p2.='/';
        filterpath($p1);filterpath($p2);
        return ($p1===$p2);
    }
function samefd ( $ p1 , $ p2 ) { $ p1 .= '/' ; $ p2 .= '/' ; filterpath ( $ p1 ) ; filterpath ( $ p2 ) ; return ( $ p1 === $ p2 ) ; }
Check if the two files/directories are the same
Check if the two files / directories are the same