View file chat/files/reg.php
<?php $duuu=opendir("data/reg"); $all = 0; while(($k=readdir($duuu))!==false){ if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $all++;} closedir($duuu); echo'Регистрации: '.$all.'<br/>'; ?>
<?php $duuu=opendir("data/reg"); $all = 0; while(($k=readdir($duuu))!==false){ if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $all++;} closedir($duuu); echo'Регистрации: '.$all.'<br/>'; ?>