mi da questo erroe
Warning: OpenDir: Invalid argument (errno 22) in c:\programmi\apache group\apache\htdocs\modulo renato\secondaprova.php on line 4
cosa devo fare?ho usato questo script . . .
<?php
// Note that !== did not exist until 4.0.0-RC2
if ($handle = opendir('/webserver/modulo renato/')) {
echo "Directory handle: $handle\n";
echo "Files:\n";
/* This is the correct way to loop over the directory. */
while (false !== ($file = readdir($handle))) {
echo "$file\n";
}
/* This is the WRONG way to loop over the directory. */
while ($file = readdir($handle)) {
echo "$file\n";
}
closedir($handle);
}
?>