I have do the follow to calculate a correct "Time Online Per Day".
First you need the Timestamp (LINUX) before you start to install my changes! ! !
in timeonline.php find:
PHP Code:
$daysregs = floor((time() - $lead[2]) / 86400);
change it to: [installtimestamp=yourtimestamp
you must change it manually]
PHP Code:
$daysregs = floor((time() - installtimestamp) / 86400);
I have Start the Tool now, an now is
Linuxtime=1030666140 - also my Code is
PHP Code:
$daysregs = floor((time() - 1030666140) / 86400);
And don?t look on my bad english - first learn german :lick: