//------------------------------------------------------------------------------------------------------
//GetFilesFolders($Path) FUNCTION
//------------------------------------------------------------------------------------------------------
// What it does-
// Get's all file/folder names in $Path
//
// Changes -
// August 2nd, 2006 - RaX - Created.
//
//------------------------------------------------------------------------------------------------------
function GetFilesFolders
($Path){
$Index =
0;
if ($handle =
opendir($Path)){
while(false !==
($file =
readdir($handle))){
if($file !=
".." &&
$file !=
"." &&
$file !=
'index.php'){
$Result[$Index] =
$file;
}
$Index++;
}
}
return $Result;
}