Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 23, 2026

Diff for phpWebLogAnalyzer/test.php between version 1.15 and 1.16

version 1.15, 2002/04/26 23:02:57 version 1.16, 2002/09/04 02:28:14
Line 62  function pear_error_handler($err_obj)
Line 62  function pear_error_handler($err_obj)
 error_reporting (E_ALL ^ E_NOTICE);  error_reporting (E_ALL ^ E_NOTICE);
 set_error_handler('php_error_handler');  set_error_handler('php_error_handler');
   
 include("./phpWebLogAnalyzer.inc.php");  require_once './phpWebLogAnalyzer.inc.php';
 PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'pear_error_handler');  PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'pear_error_handler');
   
 $weblog = new Web_Log('mysql://test:test@localhost/test');  $weblog = new Web_Log('mysql://test:test@localhost/test');
Line 103  if (0) {
Line 103  if (0) {
 echo("<hr>Processing time: "  echo("<hr>Processing time: "
                 . sprintf("%.2f", get_mtime() - $start_time));                  . sprintf("%.2f", get_mtime() - $start_time));
   
   $debug = isset($HTTP_GET_VARS['debug']) ? $HTTP_GET_VARS['debug'] : 0;
   if (intval($debug) > 0) {
           ob_start();
           var_dump($weblog->_props);
           $contents = ob_get_contents();
           ob_end_clean();
           echo '<hr><pre>';
           echo htmlspecialchars($contents);
           echo '</pre>';
   }
   
 echo("<hr>Click <a href=\"$PHP_SELF\">here</a> to get HTTP refferer work.");  echo("<hr>Click <a href=\"$PHP_SELF\">here</a> to get HTTP refferer work.");
   echo("<br>Click <a href=\"$PHP_SELF?debug=1\">here</a> to get <code>var_dump()</code> of all variables.");
   
 $weblog->destroy();  $weblog->destroy();
   

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top