Algunos Articulos Traducidos :';
function readDirectory($dir)
{
$dir = OpenDir($dir); // open script (.) directory
$directories = Array(); // initializing directories array
$files = Array(); // initializing files array
$txt = Array();
while ($file = ReadDir($dir)) // loading all files in the script directory
{
if (!Is_Dir($file)) // testing if file(founded object) is directory
{
$path_parts = pathinfo($file); // file recognize process
$extension=$path_parts["extension"];
$extension = strtolower($extension);
if($extension == "html"){
$txt[] = $file;
}
}
else if($file!="." and $file!=".." )
{ // object is directory and we dont want show thumbnail, . or .. directories
$directories[] = $file; // add directory into array
}
}
// closing directory
//$output['directories'] = $directories;
//$output['files'] = $files;
//return $output;
for($e=0; $e| File : '.$txt[$e].' |
';
}
echo '