ok here is a simple status checker that shows you how much acc your server have and how much chars.
Code:
<?php
Echo "<h1>Status</h1>";
$Pathacc = "C:/COServerProject/bin/Debug/Accounts/";
$Fileacc = ScanDir ($Pathacc);
$Fileacc = SizeOf ($Fileacc)-2;
Echo "Total Accounts: $Fileacc<br>";
$Pathchar = ""C:/COServerProject/bin/Debug/Characters/";
$Filechar = ScanDir ($Pathchar);
$Filechar = SizeOf ($Filechar)-2;
Echo "Total Characters: $Filechar";
?>
now change only
Code:
$Pathacc = "C:/COServerProject/bin/Debug/Accounts/";
to you Account folder Path
and
Code:
$Pathchar = ""C:/COServerProject/bin/Debug/Characters/";
to your Character folder Path
example page