<?php
if ($handle = opendir('../')) {
while($entry = readdir($handle)){
$ent[] = $entry;
}
echo $ent[0]; // Access To Custom Directory or File;
closedir($handle);
}
?>
<?php
if ($handle = opendir('../')) {
while($entry = readdir($handle)){
$ent[] = $entry;
}
echo $ent[0]; // Access To Custom Directory or File;
closedir($handle);
}
?>