Quote:
Originally posted by Jawelin

I always get PHP percentage negative.... ????
(even reloading and reloading).
Always something like :
I DON'T have VbPortal and use vb 2.2.2 yet...
Thanks
|
As said above, I always get negative php percent values.
So I started investigating...
Could someone explain which is the meaning of
PHP Code:
$starttime=explode(" ",$pagestarttime);
$endtime=explode(" ",$pageendtime);
$totaltime=$endtime[0]-$starttime[1];
... instead ....
$totaltime=$endtime[0]-$starttime[0]+$endtime[1]-$starttime[1];
??
Besides, actually I would prefer the first version of the hack, with an explicitly called variable to display microstats, instead of using the dooutput() function.
Mainly because I would control exactly
where stats are displayed - would prefer footer only, not at the end of each page
Thanks a lot.
Bye