Menu
Can any on tell me how a directory content is read using php:
This is the code which I have written:
<?php
resource opendir(”);
$dir=opendir(‘C:/Documents and Settings/Administrator/Favorites’);
while($read_file=readdir($dir))
{
echo “$read_file”, “n”;
}
closedir($dir);
?>