here my code-
if ($handle = opendir(\'banner/\')) { while (false !== ($file = readdir($handle))) { echo \"$file\"; } closedir($han
Because . is the current directory and .. is the parent directory.
.
..
They are always exists.
If you need to exclude them - just add
if ($file != '.' && $file != '..')
right before echo
echo