Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 23. október 2026

Rozdiely pre phpWebLogAnalyzer/phpWebLogAnalyzer.inc.php medzi verziami 1.43 a 1.44

verzia 1.43, 2002/09/06 17:22:39 verzia 1.44, 2002/10/04 13:08:44
Riadok 1 
Riadok 1 
 <?php  <?php
   ini_set('include_path', './:/home/j/9jombik/bin/PEAR/share/pear/');
   
 /*  /*
  * phpWebLogAnalyzer - powerful weblog and analyzer   * phpWebLogAnalyzer - powerful weblog and analyzer
Riadok 72 
Riadok 73 
  *            - remote-log.php script added into utils/ subdirectory   *            - remote-log.php script added into utils/ subdirectory
  *            - method setValues() splited into setStaticValues()   *            - method setValues() splited into setStaticValues()
  *              and setDynamicValues()   *              and setDynamicValues()
    * 04/10/2002 - changed support for Ident protocol using PEAR class
  */   */
   
 define('WEB_LOG_VALUE_SUBSTR_LENGTH',          255);  define('WEB_LOG_VALUE_SUBSTR_LENGTH',          255);
Riadok 85  define('WEB_LOG_SESSIONS_COUNT_TYPE',    1)
Riadok 87  define('WEB_LOG_SESSIONS_COUNT_TYPE',    1)
 define('WEB_LOG_ACCESSES_COUNT_TYPE',   2);  define('WEB_LOG_ACCESSES_COUNT_TYPE',   2);
   
 /*  /*
  * Ident library   * Pear libraries
  */  
   
 require_once dirname(__FILE__)  
         . (strlen(dirname(__FILE__)) <= 0 ? '' : '/')  
         . 'libident/libident.php';  
   
 /*  
  * Pear DB library  
  */   */
   
 require_once 'DB.php';  require_once 'DB.php';
   require_once 'Net/Ident.php';
   
 class Web_Log {  class Web_Log
   {
   
         /* Session variables          /* Session variables
   
Riadok 986  class Web_Log {
Riadok 982  class Web_Log {
                                         stripslashes($HTTP_SERVER_VARS['REMOTE_PORT']),                                          stripslashes($HTTP_SERVER_VARS['REMOTE_PORT']),
                                         stripslashes($HTTP_SERVER_VARS['SERVER_PORT']));                                          stripslashes($HTTP_SERVER_VARS['SERVER_PORT']));
   
                         if ($ident->status() == 1) {                          if (PEAR::isError($ident->query())) {
                                 // print "Ident query failed: " . $ident->error() . ".<br>\n";                                  // print "Ident query failed: " . $ident->error() . ".<br>";
                         }                          } else {
                         else {                  if ($this->_props['ident_username']['enabled'])
                                 if ($this->_props['ident_username']['enabled'])                      $this->_props['ident_username']['value']
                                         $this->_props['ident_username']['value'] = $ident->user();                          = $ident->getUser();
                                 if ($this->_props['ident_ostype']['enabled'])                  if ($this->_props['ident_ostype']['enabled'])
                                         $this->_props['ident_ostype']['value'] = $ident->osType();                      $this->_props['ident_ostype']['value']
                         }                          = $ident->getOsType();
               }
                 }                  }
   
                 return true;                  return true;

Legend:
Odstranené z verzie1.43  
zmenené riadky
  Pridané vo verzii1.44

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok