Activity Stream
48,167 MEMBERS
6918 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 9 of 9

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member

    Default Checking Uptime / Loading Speed

    Is there anyway to check how much time a site takes to load completely

    Also is that load time normal / slow / fast / perfect ??

    Anything anyone know please help
    {Psycho} Reviewed by {Psycho} on . Checking Uptime / Loading Speed Is there anyway to check how much time a site takes to load completely Also is that load time normal / slow / fast / perfect ?? Anything anyone know please help Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    Elite.SO Defendos.com Motionite.com
    PHP Code: 
    <?php

    // Paste this in header before HTML starts.
    $time microtime();
    $time explode(" "$time);
    $time $time[1] + $time[0];
    $start $time;

    // Paste this on end of page/html.
    $time microtime();
    $time explode(" "$time);
    $time $time[1] + $time[0];
    $finish $time;
    $totaltime = ($finish $start);
    printf ("Load time: %f seconds"$totaltime);

    ?>

    Defendos BETA3 Released! Thread - Official Website

  4.     
    #3
    Member
    Quote Originally Posted by l0calh0st View Post
    PHP Code: 
    <?php

    // Paste this in header before HTML starts.
    $time microtime();
    $time explode(" "$time);
    $time $time[1] + $time[0];
    $start $time;

    // Paste this on end of page/html.
    $time microtime();
    $time explode(" "$time);
    $time $time[1] + $time[0];
    $finish $time;
    $totaltime = ($finish $start);
    printf ("Load time: %f seconds"$totaltime);

    ?>
    BTW Since PHP 5 we can get a float value using the get_as_float parameter. So it can be very simple like:-
    PHP Code: 
    <?php

    // Paste this in header before HTML starts.
    $start microtime(1);

    // Paste this on end of page/html.
    printf ("Load time: %f seconds"microtime(1) - $start);

    ?>
    Thats why they are thinking to make it return float value by default in PHP6

  5.     
    #4
    Member
    Can u tell me whats the best avg time for a forum to load ( vB / IPB ) on 1 Gbps and 100 mbps port

  6.     
    #5
    Member
    Website's:
    Elite.SO Defendos.com Motionite.com
    A thankyou would be nice next time. I don't know.

    This is one of the reasons that most Respected Developers stopped providing help.

    Defendos BETA3 Released! Thread - Official Website

  7.     
    #6
    Member
    Quote Originally Posted by l0calh0st View Post
    A thankyou would be nice next time. I don't know.

    This is one of the reasons that most Respected Developers stopped providing help.
    Get over yourself dude. You code isnt even that correct.

  8.     
    #7
    Member
    Website's:
    mkspot.org
    Thanks for code
    This will work for wp site ?? and if where to paste code in main index page?


  9.     
    #8
    Banned
    Website's:
    GFXFire.com Max-Share.org WarezShares.com
    So many respected developers

  10.     
    #9
    Member
    @ l0calh0st

    Hey Thx mate for helping much much appreciated for the help

    @NightLightW

    Yes it works everywhere where php works

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Checking In
    By johnniegolfer in forum Introductions
    Replies: 0
    Last Post: 27th Mar 2012, 08:12 PM
  2. Checking in
    By 808crazy in forum Introductions
    Replies: 1
    Last Post: 12th Aug 2011, 05:28 PM
  3. How to improve my site's page loading speed
    By moviesmegaupload in forum Technical Help Desk Support
    Replies: 7
    Last Post: 25th Feb 2011, 01:55 PM
  4. Old newbie checking in
    By Twink in forum Introductions
    Replies: 8
    Last Post: 22nd Dec 2010, 05:59 AM
  5. Replies: 1
    Last Post: 26th Sep 2009, 07:39 PM

Tags for this Thread

BE SOCIAL