[UPHPU] Using php to get page load time
Nathan Lane
nathamberlane at gmail.com
Tue Apr 8 15:40:41 MDT 2008
Sorry for the dupe.
Cool, that was good info, but will that give me the time of day/date that a
page was loaded on?
On Tue, Apr 8, 2008 at 3:36 PM, Wade Preston Shearer <lists at wadeshearer.com>
wrote:
> Is it possible to use PHP to get the time, say in milliseconds, when a
> > page
> > was loaded? And how would one accomplish that?
> >
>
> If you call microtime() at the bottom of your page, you will get the
> amount it time it took for it to execute. You can use number_format() to
> format it the way you want.
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
--
Nathan Lane
Home, http://www.nathandelane.com
Mirror, http://nathandelane.awardspace.com
More information about the UPHPU
mailing list