Location: PHPKode > projects > Psichat > psichat/vartest.php
<?
include("lib.php");
$i=0;

$pfad="var/protect/uzkjhgfsjhguoi76u5z/chat/";
$verz=opendir ($pfad);
while ($file=readdir($verz))
{
    if (filetype($pfad.$file)!="dir")
    {

	$pp = split('.0',$file);
	//echo $pp[0]."<br>";
	$logwe = getslot($pfad.$pp[0], 0, 5);
	if($logwe[3] != "") $i++;
        //echo "$file<br>";
    }
}
closedir($verz);

echo "$i";
?>
Return current item: Psichat