I want to count files from a directory which is stored in a remote server .
I used the following code . But obtained warning
<?php
$url='192.168.0.138/img/12/12N69/';
$dir = opendir($url);
//List files in images directory
while (($file = readdir($dir)) !== false)
{
echo "filename: " . $file . "<br />";
}
closedir($dir);
?>
Warning:
Warning: opendir(http://192.168.0.138/img/12/12N69/) [function.opendir]: failed to open dir: not implemented in C:\xampp\htdocs\divya\remote_files\remote.php on line 3
Warning: readdir() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\divya\remote_files\remote.php on line 6
filename: