Added: Jan 28, 2002
Snippet uploaded by: snippet
Written By: snippet
Demo: Sorry, no demo
a timer to count down a certain time.
$mtime1 = microtime();
$mtime1 = explode(" ",$mtime1);
$mtime1 = $mtime1 + $mtime1;
$starttime = $mtime1;
$mtime2 = microtime();
$mtime2 = explode(" ",$mtime2);
$mtime2 = $mtime2 + $mtime2;
$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.
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.