Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, March 29, 2024

Diff for phpWebLogAnalyzer/test.php between version 1.11 and 1.12

version 1.11, 2002/04/03 20:33:26 version 1.12, 2002/04/15 19:47:17
Line 48  set_error_handler('php_error_handler');
Line 48  set_error_handler('php_error_handler');
 include("./phpWebLogAnalyzer.inc.php");  include("./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');
 $weblog->enableTruncateNames();  $weblog->enableTruncateNames();
 $weblog->enableRawLog();  $weblog->enableRawLog();
 $weblog->disableRawLog();  //$weblog->disableRawLog();
   
 //$weblog->disableProperty('session_id');  //$weblog->disableProperty('session_id');
 $weblog->registerAccess(3);  $weblog->registerAccess(3);
Line 59  $weblog->registerAccess(3);
Line 59  $weblog->registerAccess(3);
 echo ("<hr>Session ID: "  echo ("<hr>Session ID: "
                 . $weblog->getPropertyValue("session_id") . "<br>");                  . $weblog->getPropertyValue("session_id") . "<br>");
   
 if (1) {  if (0) {
         $weblog->enableRawLog();          $weblog->enableRawLog();
         echo("<hr>Raw session count: "          echo("<hr>Raw session count: "
                         . $weblog->getSessionsCount()                          . $weblog->getSessionsCount()

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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