Not a Member Yet,
Click here to Register
How do you like the new design?
It's cool, great job
[tally: 70%] 70%
It's okay
[tally: 20%] 20%
Its OK but I liked the old layout better
[tally: 0%] 0%
Please bring the old one back
[tally: 10%] 10%

votes: 10

ID: 64
Viewed: 4656
Added: Jan 28, 2002
Snippet uploaded by: snippet
Written By: snippet
Demo: Sorry, no demo

User Rated at: 2 Stars2 Stars
Rate This:

Thank you for your vote. Please wait...

It appears you already voted for this snippet

It appears your vote value was empty

a timer to count down a certain time.


$mtime1 = microtime();

$mtime1 = explode(" ",$mtime1);

$mtime1 = $mtime1[1] + $mtime1[0];

$starttime = $mtime1;

$mtime2 = microtime();

$mtime2 = explode(" ",$mtime2);

$mtime2 = $mtime2[1] + $mtime2[0];

$endtime = $mtime2;

$totaltime = ($endtime - $starttime);

$Time = "<font size="1" face="verdana"><center>$totaltime seconds processing time</center></font><br>";



 //Now just Place 

<?echo $Time ?>
//where you want it to be displayed

//Now if you want this to display as an include,
//copy the above code and paste it in your text
//editor and save the file
//as render.php and add this to it at teh bottom.
echo "<font size="1" face="verdana"><center>$totaltime seconds processing time</center></font><br>";

//just include it like this,
//in your footer or whatever.
<?php include('render.php') ?>

No Comments to show

Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.

Replying to a Comment...

Adding your comment. Please wait...

Thanks for adding your comment!. After further review it will be added.

There was a problem adding your comment. Please try again.

Please complete all the fields in the form before sending.

© 2002 - 2018 All Rights Reserved. Conditions