[REQUEST] A Reg page that has these following

05/12/2009 06:52 Pete1990#1
Well im useing ini i got a reg page but was wandering can anyone make it where i get these on my reg page:)


Statistics

Total Accounts:

Total Characters:

Total Online:
05/12/2009 06:55 suboy#2
will look around if i have one
05/12/2009 06:57 Pete1990#3
Quote:
Originally Posted by suboy View Post
will look around if i have one
Thank you.
05/12/2009 12:28 PeTe Ninja#4
ini reg page was released ><
05/12/2009 13:33 E.M.E#5
PHP Code:
<?php
    
// Configurations
    
$myhost="Your IP";
    
$mypass="Your database pass";
    
$myuser="Your user";
    
$mydbacc="Your account table location";
    
$mydbdata="Your cq_user location";
    
// Dont Edit after this
    
mysql_connect($myhost,$myuser,$mypass);
?>
<?php
    mysql_select_db
($mydbacc);
    
$res mysql_query("SELECT count(*) FROM account;");
    
$val mysql_fetch_array($res);
    echo 
"<font style='color: #FFFFFF'>Total Players: ".$val[0]."<br />";
            
    
mysql_select_db($mydbdata);
    
$res mysql_query("SELECT count(*) FROM cq_user;");
    
$val mysql_fetch_array($res);
    echo 
"<font style='color: #FFFFFF'>Total Characters: ".$val[0]."<br />";
            
    echo 
"Total Online: "
    echo (
exec('netstat -a -n |find "5816"  |find "ESTABLISHED" /c')-0); 
?>
This is only the statistic script and the total online doesn't work unless the script hosted localy ..(Localhost) and for some pcs it requires a program called netstat
05/12/2009 13:48 martoon#6
He said ini source, it is lotf. Not TQ..
05/12/2009 17:00 Pete1990#7
Yea im useing ini not mysql and SURE NOT TQ BINA:D
05/12/2009 17:10 koio#8
here[Only registered and activated users can see links. Click Here To Register...]