Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Ile ładowała się strona?, Skrypt który pokarze ile sie ładowała
<?php?>
post
Post #1





Grupa: Zarejestrowani
Postów: 82
Pomógł: 0
Dołączył: 11.01.2004

Ostrzeżenie: (0%)
-----


Witajcie , jak napisac skrypt który pokarze ile czasu ładowała się moja strona. Nie mam pomysłu wcale jak to zrobić. Przeszukałem forum i nic na ten temat nie znalazłem . Proszę o pomoc.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
Yarecki
post
Post #2





Grupa: Zarejestrowani
Postów: 166
Pomógł: 0
Dołączył: 1.04.2004
Skąd: Gdynia

Ostrzeżenie: (0%)
-----


Coś słabo szukałeś.
http://forum.php.pl/index.php?showtopic=16...zas+generowania
Go to the top of the page
+Quote Post
..:: pingu ::..
post
Post #3





Grupa: Zarejestrowani
Postów: 83
Pomógł: 0
Dołączył: 15.12.2003
Skąd: Mikołów

Ostrzeżenie: (0%)
-----


  1. <?php
  2.  
  3. class timer
  4. {
  5.     function __construct()
  6.     {
  7.         $this->start = microtime( true );
  8.     }
  9.     function __destruct()
  10.     {
  11.         echo  microtime( true ) - $this->start;
  12.     }
  13. }
  14. $time  = new timer(); //start zegara
  15.  
  16.  
  17. ?>


ONly PHP5 (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Ten post edytował ..:: pingu ::.. 3.07.2004, 12:54:11
Go to the top of the page
+Quote Post
orson
post
Post #4





Grupa: Zarejestrowani
Postów: 548
Pomógł: 2
Dołączył: 19.07.2003

Ostrzeżenie: (0%)
-----


Cytat(<?php?> @ 2004-07-03 11:17:35)
... ile czasu ładowała ...

witam ...

ladowala czy generowala (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) czas generowania juz masz a czas ladowania/renderu mozna dostac w js ... napisz o ktore chodzi ....

pozdrawiam
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.08.2025 - 11:33