NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming > CODE
Reload this Page Page Load Time

CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here.

Advanced Search
6 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 07-17-2005, 01:48 AM THREAD STARTER               #1 (permalink)
Tech Support
Join Date: Mar 2005
Posts: 4,944
Eric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatness
 

Member of the Month
MOTM September 2005
Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Animal Rescue Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund Baby Health Cancer Alzheimer's Protect Our Planet Cancer Survivorship SIDS Child Abuse Diabetes Protect Our Planet Multiple Sclerosis Autism Adoption Special Olympics

Page Load Time


PHP Code:
<?php

// Insert at the very top of your page

$time microtime();
$time explode(" "$time);
$time $time[1] + $time[0];
$start $time;

?>

<?php

// Place at the very bottom of your page

$time microtime();
????: NamePros.com http://www.namepros.com/code/107315-page-load-time.html
$time explode(" "$time);
$time $time[1] + $time[0];
$finish $time;
$totaltime = ($finish $start);
printf ("Page generated in %f ."$totaltime);

?>
Last edited by SecondVersion; 07-17-2005 at 01:52 AM.
Eric is offline  
Old 07-17-2005, 02:31 AM   #2 (permalink)
Senior Member
 
Porte's Avatar
Join Date: May 2005
Location: I'm right here
Posts: 3,525
Porte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud of
 



Page generated in 0.000088 .

__________________
WP Theme Developer
Your One-stop for Premium Magazine/CMS WordPress Themes
Deluxe Themes
Porte is offline  
Old 07-18-2005, 04:18 PM   #3 (permalink)
NamePros Regular
Join Date: May 2005
Posts: 334
bafoon is an unknown quantity at this point
 



Cool, thanks a lot.
bafoon is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Good Article: An SEO Checklist Ferman Search Engines 2 05-28-2005 10:51 AM
Web site design w/ blog and more needed SharonTucci Web Development Wanted 15 05-15-2005 05:17 PM
100,000 Indexed page - Site offering advertising 1st time ceo For Sale / Advertising Board 1 02-06-2005 12:44 PM
Doorway Pages - advice needed Tjobbe Web Design Discussion 5 09-27-2004 10:17 AM
Shopping & Retail Domains In All Extensions ON SALE - Many Nice One-Worders! Duke Domains For Sale - Make Offer 0 12-29-2003 04:06 PM

 
All times are GMT -7. The time now is 02:07 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger