Try $dirname = "c:\\temp";
I need to use dos-style backslashes on my Windows machine for all file
system-related functions.
I find this code helps quite a bit for looping through directories for
whatever reason:
$dir_name = '\\stuff\\folder';
$dir_handle = opendir($dir_name);
while (($
I think you could not use fopen to open just a directory, without specify a
file.
Instead try to use:
$handle=opendir('mydir');
while ($file = readdir($handle)) {
echo "$file\n";
}
closedir($handle);
Bye,
Alessio
""Benjamin Listwon"" <[EMAIL PROTECTED]> ha scritto nel messaggio
9d8l8b$74