Reply to Re: Time for page

Your name:

Reply:


Posted by alexander on 08/31/07 07:16

On 31 Aug., 09:04, Sonnich Jensen <sonnich.jen...@jotautomation.com>
wrote:
> Hi!
>
> Is there a timer for the page, so I can see how long it has taken for
> process the page?
> Say, the page opens,and at the buttom there is a text say "it took 4
> hrs to process your request" :-)
>
> BR
> Sonnich

begin of page
<?PHP
$t1=time();


....end of page...
$t2=time();
$duration=$t2-t1;
echo "it took $duration millisecs";
?>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация