As I do to always list files of the directory when I use like this:
<?php
$handle = opendir (' directory / ');
while (false != = ($file = readdir($handle))) {
if ($file !="". && $file !="..") {
echo " $file\n ";
}
}
closedir($handle);
?>
Does he come back besides the files contained in the directory, a '. ' and '.. ' and a space in white before the files, does anybody know other way to do that?