|
||||||
| PHP Tutorials PHP Tutorials |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
This php file has two functions to determine start time and finish time. Then displays total execution time in seconds.
Code:
Usage:
include execution_time.php
In header of your php script place
$startTime = slog_time();
In footer of your php script place
$totalTime = elog_time($startTime);
print "Execution Time: $totalTime Seconds";
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
| Sponsored Links |
|
|
|
|||
|
here is more simple than it?
Quote:
__________________
Http://boy.us.com/ Multi Utilities Sites Softwares Downloads, Proxy, Freehosting, .... |
| Sponsored Links |
|
|
|
|||||
|
Simple but useful and powerful. Awesome!
__________________
Funny Stories and Humorous Pictures |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Introduction | clookid | PHP Tutorials | 10 | 01-16-2007 07:17 AM |
| Execution Time | smith | PHP Forum | 2 | 01-06-2007 03:46 PM |
| TUTORIAL: Save time using the PHP include Function <?php include | Dan | PHP Tutorials | 5 | 01-01-2007 10:19 AM |