I am able to get the file names with current script.
$dir = "var/www";
$dh = opendir($dir);
while (($file = readdir($dh)) !== false) {
echo "<A HREF=\"$file\">$file</A><BR>\n";
}
but the www folder is local. i wanted to get the file names on my windows server which has the following address
10.25.56.113
so i tried putting in http://10.25.56.113/images/"
as i want the file names in the "images" folder on that server. but its not working.
its giving out the following errors
Warning: opendir(http://10.25.56.113/images) [function.opendir]: failed to open dir: not implemented in /var/www/UpdateImageNames.php on line 12
Warning: readdir(): supplied argument is not a valid Directory resource in /var/www/UpdateImageNames.php on line 16
Warning: closedir(): supplied argument is not a valid Directory resource in /var/www/UpdateImageNames.php on line 24
http://10.25.56.113/images/PlayerOnePictures/mario.gif
any tips?