[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/includes/ -> performance.php (source)

   1  <?php
   2  /*

   3  $Id: performance.php 3 2006-05-27 04:59:07Z user $

   4    orig : performance.php,v 1.5 2004/11/21 00:04:53 Chemo Exp $

   5  

   6    osCMax Power E-Commerce

   7    http://oscdox.com

   8  

   9    Copyright 2006 osCMax

  10  

  11    Released under the GNU General Public License

  12  */
  13  
  14    if (DISPLAY_PAGE_PARSE_TIME == 'true') {
  15      $time_start = explode(' ', PAGE_PARSE_START_TIME);
  16      $time_end = explode(' ', microtime());
  17      $parse_time = number_format(($time_end[1] + $time_end[0] - ($time_start[1] + $time_start[0])), 3);
  18      echo '<div align="center"><span class="smallText">Current Parse Time: <b>' . $parse_time . ' s</b> with <b>' . sizeof($debug['QUERIES']) . ' queries</b></span></div>';
  19      if (DISPLAY_QUERIES == 'true') {
  20        echo '<b>QUERY DEBUG:</b> ';
  21        print_array($debug);
  22        echo '<hr>';
  23        echo '<b>SESSION:</b> ';
  24        print_array($_SESSION);
  25        echo '<hr>';
  26        echo '<b>COOKIE:</b> ';
  27        print_array($_COOKIE);
  28        echo '<b>POST:</b> ';
  29        print_array($_POST);
  30        echo '<hr>';
  31        echo '<b>GET:</b> ';
  32        print_array($_GET);
  33      } # END if request

  34    }
  35    unset($debug);
  36  ?>


Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7