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

Diff for Metafox/lib/phpMyEdit/phpMyEdit.class.php between version 1.10 and 1.11

version 1.10, 2015/07/09 12:11:53 version 1.11, 2015/07/09 12:18:10
Line 19 
Line 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: Metafox/lib/phpMyEdit/phpMyEdit.class.php,v 1.9 2012-05-14 14:53:43 igor Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.219 2015-07-09 12:15:58 igor Exp $ */
   
 /*  This is a generic table editing program. The table and fields to be  /*  This is a generic table editing program. The table and fields to be
         edited are defined in the calling program.          edited are defined in the calling program.
Line 99  class phpMyEdit
Line 99  class phpMyEdit
         var $pw;                // password          var $pw;                // password
         var $tb;                // table          var $tb;                // table
         var $db;                // database          var $db;                // database
           var $ssl;               // use MySQL with SSL
         var $dbp;               // database with point and delimiters          var $dbp;               // database with point and delimiters
         var $dbh;               // database handle          var $dbh;               // database handle
         var $close_dbh; // if database handle should be closed          var $close_dbh; // if database handle should be closed
Line 315  class phpMyEdit
Line 316  class phpMyEdit
      */       */
         function sql_connect() /* {{{ */          function sql_connect() /* {{{ */
         {          {
                   $flags = $this->ssl > 0 ? MYSQL_CLIENT_SSL : null;
                 $this->dbh = @ini_get('allow_persistent')                  $this->dbh = @ini_get('allow_persistent')
                         ? @mysql_pconnect($this->hn, $this->un, $this->pw)                    ? @mysql_pconnect($this->hn, $this->un, $this->pw, $flags)
                         : @mysql_connect($this->hn, $this->un, $this->pw);                    : @mysql_connect($this->hn, $this->un, $this->pw, false, $flags);
         } /* }}} */          } /* }}} */
   
   
Line 3226  function '.$this->js['prefix'].'filter_h
Line 3228  function '.$this->js['prefix'].'filter_h
                         $this->un  = $opts['un'];                          $this->un  = $opts['un'];
                         $this->pw  = $opts['pw'];                          $this->pw  = $opts['pw'];
                         $this->db  = $opts['db'];                          $this->db  = $opts['db'];
                           $this->ssl = $opts['ssl'];
                 }                  }
                 $this->tb  = $opts['tb'];                  $this->tb  = $opts['tb'];
                 // Other variables                  // Other variables

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

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