![]() |
Willkommen, Gast ( Anmelden | Registrierung )
![]() ![]() |
![]() |
![]()
Beitrag
#1
|
|
![]() Administrator ![]() ![]() ![]() Gruppe: Admin Beiträge: 552 Mitglied seit: 1-June 05 Wohnort: germany, hassia, bickenbach Mitglieds-Nr.: 1 ![]() |
Diese beiden Funktionen in die RTCMS Module einbauen und damit einen Timer möglich machen. Dieser kann unten oder sonstwo auf der Page angezeigt werden.
QUELLTEXT class Debug
{ function startTimer() { global $starttime; $mtime = microtime (); $mtime = explode (' ', $mtime); $mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; } function endTimer() { global $starttime; $mtime = microtime (); $mtime = explode (' ', $mtime); $mtime = $mtime[1] + $mtime[0]; $endtime = $mtime; $totaltime = round (($endtime - $starttime), 5); return $totaltime; } } -------------------- |
|
|
![]() ![]() |
![]() |
Vereinfachte Darstellung | Aktuelles Datum: 3rd March 2021 - 07:20 AM |