It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#3 (permalink) |
|
Junior Member
|
Script Timer
Code:
<?php
function
get_microtime()
{
list($usec, $sec) = explode(" ", microtime());
return ((double)$usec+(double)$sec);
}
$start = get_microtime();
//Toliau failo turinys
$end = get_microtime();
$native = round((float)(($end - $start) * 1000), 2);
echo "<b>SCRIPT LOAD:</b> <small>$native ms</small>";
?>
__________________
SIMPLY THE BEST |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What quick codes do you have? | GuyKels | PHP | 4 | 12-23-2006 07:39 AM |
| Hex Codes | TizBiz | Forum Management | 1 | 03-10-2006 10:11 PM |
| IBF Codes | Grudge | Forum Management | 0 | 03-05-2006 08:47 AM |
| Codes, Hacks, and Modifications | G Unit Man | Forum Management | 1 | 02-11-2006 12:42 AM |