You are here: Re: [PHP] How can i calculate total process time? « PHP « IT news, forums, messages
Re: [PHP] How can i calculate total process time?

Posted by JoShQuNe on 03/15/05 17:26

Thnx for yr answers. I fixed it. Problem was the places of codes. They were line under line now i
took to the beginning and itz calculating correctly.. The code was:
//Beginning
$mtime = explode(" ",microtime());
$starttime = $mtime[1] + $mtime[0];
//Just before i print
$mtime = explode(" ",microtime());
$endtime = $mtime[1] + $mtime[0];
//Print prompt
round($endtime-$starttime,3);

Also thanx for reminding abs(), i ll use it..

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

 

Navigation:

[Reply to this 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

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