Current Path : /home/bitrix/ext_www/vf.yacl.site/ |
Current File : /home/bitrix/ext_www/vf.yacl.site/hunter.php |
<? //Just for games $file = array(); $dir = array_diff(scandir($_SERVER['DOCUMENT_ROOT'].'/vector'), array('..', '.')); foreach ($dir as $d) $file = array_merge($file, array_diff(scandir($_SERVER['DOCUMENT_ROOT'].'/vector/'.$d), array('..', '.'))); //print_r($file); ?> <h1><?= count($file) ?></h1>