[Release]Statuschecker for ini source

05/12/2009 17:08 koio#1
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
[Only registered and activated users can see links. Click Here To Register...]
05/12/2009 17:47 Pete1990#2
Does not work but yea
05/12/2009 18:13 koio#3
why does it not work?
for me and on the test page it workes fine
05/12/2009 18:50 Pete1990#4
Well im trying to add it into my Reg page but its not working i get an error
Parse error: syntax error, unexpected T_STRING in C:\AppServ\www\Reg.php on line 74
05/12/2009 19:21 ShockSoft#5
isnt a status checker something to show u if its online?
05/12/2009 19:22 Pete1990#6
Yea but i want one for Accounts and chars and Whos online for ini
05/12/2009 19:40 danielachraf#7
i don't like lotf ini .. I think mysql is better
05/12/2009 19:46 Pete1990#8
Danielachraf that was nothing to with what we are talking about? and if u like LOTF why did u make a bina thing?
05/12/2009 20:48 danielachraf#9
Quote:
Originally Posted by Pete1990 View Post
Danielachraf that was nothing to with what we are talking about? and if u like LOTF why did u make a bina thing?
not your business , and i am using lotf and i know alot of binary
05/13/2009 03:28 LetterX#10
Quote:
Originally Posted by danielachraf View Post
not your business , and i am using lotf and i know alot of binary
so do I.

01001001001000000110101101101110011011110111011100 100000011000100110100101101110
01100001011100100111100100100000011101000110111101 101111. I'm an expert.
05/13/2009 03:52 PeTe Ninja#11
Quote:
Originally Posted by LetterX View Post
so do I.

01001001001000000110101101101110011011110111011100 100000011000100110100101101110
01100001011100100111100100100000011101000110111101 101111. I'm an expert.
01001001001000000110000101101100011100110110111100 10000001101011011011100110111101110111001000000110 00100110100101101110011000010111001001111001001000 00011001100111001001101111011011010010000001110100 01101000011010010111001100100000011100110110100101 11010001100101001000000110100001110100011101000111 00000011101000101111001011110111011101110111011101 11001011100111001001101111011101010110001001100001 01101001011110000110100101101110011101000110010101 11001001100001011000110111010001101001011101100110 01010010111001100011011011110110110100101111010100 00011011000110000101111001010001110111001001101111 01110101011011100110010000101111010000100110100101 10111001100001011100100111100101011111010000110110 11110110111001110110011001010111001001110011011010 01011011110110111000101111010000100110100101101110 01100001011100100111100101011111010101000110111101 01111101010100011001010111100001110100001011100110 00010111001101110000