If I am reading all the files using readdir() how can I tell if the file is another dir?
PHP Code:
if (file is a directory)
{
  echo 
"directory<br>";
}
else
{
  echo 
"file<br>";