how to read directory on other computer in a local network, i have access to the directory but when execute
$path="\\\\213.240.237.193\\something";
if ( $dh = opendir($path) )
{
while ( false !== ( $file = readdir($dh) ) )
{
if ( $file != '.' && $file != '..' && $file != 'index.htm' )
{
$catch[] = $file;
}
}
}
i get
Warning: opendir(\213.240.237.193\something): failed to open dir: No such file or directory in /var/www/html/new/test.php on line 3