[Linpha-cvs] SF.net SVN: linpha: [4874] trunk/linpha2
Status: Inactive
Brought to you by:
bzrudi
From: <fan...@us...> - 2008-02-13 18:55:20
|
Revision: 4874 http://linpha.svn.sourceforge.net/linpha/?rev=4874&view=rev Author: fangehrn Date: 2008-02-13 10:55:13 -0800 (Wed, 13 Feb 2008) Log Message: ----------- 2008-02-13 flo * moved not needed files to the misc folder * updated adodb to version 504 Modified Paths: -------------- trunk/linpha2/ChangeLog trunk/linpha2/index.php trunk/linpha2/lib/adodb/adodb-active-record.inc.php trunk/linpha2/lib/adodb/adodb-csvlib.inc.php trunk/linpha2/lib/adodb/adodb-datadict.inc.php trunk/linpha2/lib/adodb/adodb-error.inc.php trunk/linpha2/lib/adodb/adodb-errorhandler.inc.php trunk/linpha2/lib/adodb/adodb-errorpear.inc.php trunk/linpha2/lib/adodb/adodb-exceptions.inc.php trunk/linpha2/lib/adodb/adodb-iterator.inc.php trunk/linpha2/lib/adodb/adodb-lib.inc.php trunk/linpha2/lib/adodb/adodb-pager.inc.php trunk/linpha2/lib/adodb/adodb-pear.inc.php trunk/linpha2/lib/adodb/adodb-perf.inc.php trunk/linpha2/lib/adodb/adodb-php4.inc.php trunk/linpha2/lib/adodb/adodb-time.inc.php trunk/linpha2/lib/adodb/adodb.inc.php trunk/linpha2/lib/adodb/docs/docs-adodb.htm trunk/linpha2/lib/adodb/docs/docs-datadict.htm trunk/linpha2/lib/adodb/docs/docs-perf.htm trunk/linpha2/lib/adodb/docs/docs-session.htm trunk/linpha2/lib/adodb/docs/docs-session.old.htm trunk/linpha2/lib/adodb/drivers/adodb-access.inc.php trunk/linpha2/lib/adodb/drivers/adodb-ado.inc.php trunk/linpha2/lib/adodb/drivers/adodb-ado5.inc.php trunk/linpha2/lib/adodb/drivers/adodb-ado_access.inc.php trunk/linpha2/lib/adodb/drivers/adodb-ado_mssql.inc.php trunk/linpha2/lib/adodb/drivers/adodb-borland_ibase.inc.php trunk/linpha2/lib/adodb/drivers/adodb-csv.inc.php trunk/linpha2/lib/adodb/drivers/adodb-db2.inc.php trunk/linpha2/lib/adodb/drivers/adodb-fbsql.inc.php trunk/linpha2/lib/adodb/drivers/adodb-firebird.inc.php trunk/linpha2/lib/adodb/drivers/adodb-ibase.inc.php trunk/linpha2/lib/adodb/drivers/adodb-informix.inc.php trunk/linpha2/lib/adodb/drivers/adodb-informix72.inc.php trunk/linpha2/lib/adodb/drivers/adodb-ldap.inc.php trunk/linpha2/lib/adodb/drivers/adodb-mssql.inc.php trunk/linpha2/lib/adodb/drivers/adodb-mssqlpo.inc.php trunk/linpha2/lib/adodb/drivers/adodb-mysql.inc.php trunk/linpha2/lib/adodb/drivers/adodb-mysqli.inc.php trunk/linpha2/lib/adodb/drivers/adodb-mysqlpo.inc.php trunk/linpha2/lib/adodb/drivers/adodb-mysqlt.inc.php trunk/linpha2/lib/adodb/drivers/adodb-netezza.inc.php trunk/linpha2/lib/adodb/drivers/adodb-oci8.inc.php trunk/linpha2/lib/adodb/drivers/adodb-oci805.inc.php trunk/linpha2/lib/adodb/drivers/adodb-oci8po.inc.php trunk/linpha2/lib/adodb/drivers/adodb-odbc.inc.php trunk/linpha2/lib/adodb/drivers/adodb-odbc_db2.inc.php trunk/linpha2/lib/adodb/drivers/adodb-odbc_mssql.inc.php trunk/linpha2/lib/adodb/drivers/adodb-odbc_oracle.inc.php trunk/linpha2/lib/adodb/drivers/adodb-odbtp.inc.php trunk/linpha2/lib/adodb/drivers/adodb-odbtp_unicode.inc.php trunk/linpha2/lib/adodb/drivers/adodb-oracle.inc.php trunk/linpha2/lib/adodb/drivers/adodb-pdo.inc.php trunk/linpha2/lib/adodb/drivers/adodb-pdo_mssql.inc.php trunk/linpha2/lib/adodb/drivers/adodb-pdo_mysql.inc.php trunk/linpha2/lib/adodb/drivers/adodb-pdo_oci.inc.php trunk/linpha2/lib/adodb/drivers/adodb-pdo_pgsql.inc.php trunk/linpha2/lib/adodb/drivers/adodb-postgres.inc.php trunk/linpha2/lib/adodb/drivers/adodb-postgres64.inc.php trunk/linpha2/lib/adodb/drivers/adodb-postgres7.inc.php trunk/linpha2/lib/adodb/drivers/adodb-postgres8.inc.php trunk/linpha2/lib/adodb/drivers/adodb-proxy.inc.php trunk/linpha2/lib/adodb/drivers/adodb-sapdb.inc.php trunk/linpha2/lib/adodb/drivers/adodb-sqlanywhere.inc.php trunk/linpha2/lib/adodb/drivers/adodb-sqlite.inc.php trunk/linpha2/lib/adodb/drivers/adodb-sqlitepo.inc.php trunk/linpha2/lib/adodb/drivers/adodb-sybase.inc.php trunk/linpha2/lib/adodb/drivers/adodb-sybase_ase.inc.php trunk/linpha2/lib/adodb/drivers/adodb-vfp.inc.php trunk/linpha2/lib/adodb/perf/perf-db2.inc.php trunk/linpha2/lib/adodb/perf/perf-informix.inc.php trunk/linpha2/lib/adodb/perf/perf-mssql.inc.php trunk/linpha2/lib/adodb/perf/perf-mysql.inc.php trunk/linpha2/lib/adodb/perf/perf-oci8.inc.php trunk/linpha2/lib/adodb/perf/perf-postgres.inc.php Modified: trunk/linpha2/ChangeLog =================================================================== --- trunk/linpha2/ChangeLog 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/ChangeLog 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,4 +1,8 @@ +2008-02-13 flo + * moved not needed files to the misc folder + * updated adodb to version 504 + 2008-02-11 flo * deleted "debug" files and added them to the ignore list -> we will not forget them on releases and they will not be on any snapshot Modified: trunk/linpha2/index.php =================================================================== --- trunk/linpha2/index.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/index.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,11 +1,11 @@ <?php if(defined('LINPHA_DIR')) { - if(!defined('LINPHA_IS_INCLUDED')) { - define('LINPHA_IS_INCLUDED',1); - } + if(!defined('LINPHA_IS_INCLUDED')) { + define('LINPHA_IS_INCLUDED',1); + } } else { - define('LINPHA_DIR','.'); + define('LINPHA_DIR','.'); } include_once(LINPHA_DIR.'/lib/include/common.php'); @@ -13,84 +13,81 @@ /** * some init stuff */ - require_once(LINPHA_DIR.'/lib/classes/linpha.class.php'); - global $linpha; - $linpha = new Linpha(); - $linpha->sql->startSession(); - - include_once(LINPHA_DIR.'/lib/include/integrity.php'); - include_once(LINPHA_DIR.'/lib/include/upgrade.php'); + require_once(LINPHA_DIR.'/lib/classes/linpha.class.php'); + global $linpha; + $linpha = new Linpha(); + $linpha->sql->startSession(); + + include_once(LINPHA_DIR.'/lib/include/integrity.php'); + include_once(LINPHA_DIR.'/lib/include/upgrade.php'); + + if(!isset($_GET['linCat'])) + { + $_GET['linCat'] = 'alb'; + } - if(!isset($_GET['linCat'])) - { - $_GET['linCat'] = 'alb'; - } - /** * open modules */ switch($_GET['linCat']) { case 'alb': - require_once(LINPHA_DIR.'/lib/modules/module.albums.php'); - break; + require_once(LINPHA_DIR.'/lib/modules/module.albums.php'); + break; case 'search': - require_once(LINPHA_DIR.'/lib/modules/module.search.php'); - break; + require_once(LINPHA_DIR.'/lib/modules/module.search.php'); + break; case 'basket': - require_once(LINPHA_DIR.'/lib/modules/module.basket.php'); - break; + require_once(LINPHA_DIR.'/lib/modules/module.basket.php'); + break; case 'browse': - require_once(LINPHA_DIR.'/lib/modules/module.browse.php'); - break; + require_once(LINPHA_DIR.'/lib/modules/module.browse.php'); + break; case 'settings': - require_once(LINPHA_DIR.'/lib/modules/module.settings.php'); - break; + require_once(LINPHA_DIR.'/lib/modules/module.settings.php'); + break; case 'ajax': - require_once(LINPHA_DIR.'/lib/modules/module.ajax.php'); - break; + require_once(LINPHA_DIR.'/lib/modules/module.ajax.php'); + break; case 'newimg': - require_once(LINPHA_DIR.'/lib/modules/module.newimg.php'); - break; + require_once(LINPHA_DIR.'/lib/modules/module.newimg.php'); + break; case 'metadata': - require_once(LINPHA_DIR.'/lib/include/metadata_info_show.php'); - break; + require_once(LINPHA_DIR.'/lib/include/metadata_info_show.php'); + break; case 'video': - require_once(LINPHA_DIR.'/lib/modules/module.video.php'); - break; + require_once(LINPHA_DIR.'/lib/modules/module.video.php'); + break; case 'panorama': - require_once(LINPHA_DIR.'/lib/modules/module.panorama.php'); - break; + require_once(LINPHA_DIR.'/lib/modules/module.panorama.php'); + break; case 'download': - require_once(LINPHA_DIR.'/lib/modules/module.download.php'); - break; + require_once(LINPHA_DIR.'/lib/modules/module.download.php'); + break; case 'geodata': require_once(LINPHA_DIR.'/lib/modules/module.geodata.php'); break; -case 'benchmark': - require_once(LINPHA_DIR.'/lib/modules/module.benchmark.php'); - break; case 'empty': - require_once(LINPHA_DIR.'/lib/modules/module.empty.php'); - break; - -default: - // include plugins - $pluginDir = LINPHA_DIR.'/lib/plugins'; - $includeFile = $pluginDir.'/'.$_GET['linCat'].'/module.'.$_GET['linCat'].'.php'; + require_once(LINPHA_DIR.'/lib/modules/module.empty.php'); + break; - if( is_dir($pluginDir) - && isset($GLOBALS['linpha']->sql->config->value['plugins_'.$_GET['linCat'].'_enable']) - && $GLOBALS['linpha']->sql->config->value['plugins_'.$_GET['linCat'].'_enable']=='1' - && file_exists($includeFile)) - { - require_once($includeFile); - } - else - { - require_once(LINPHA_DIR.'/lib/modules/module.empty.php'); - } - break; +default: + // include plugins + $pluginDir = LINPHA_DIR.'/lib/plugins'; + $includeFile = $pluginDir.'/'.$_GET['linCat'].'/module.'.$_GET['linCat'].'.php'; + + if( is_dir($pluginDir) + && isset($GLOBALS['linpha']->sql->config->value['plugins_'.$_GET['linCat'].'_enable']) + && $GLOBALS['linpha']->sql->config->value['plugins_'.$_GET['linCat'].'_enable']=='1' + && file_exists($includeFile)) + { + require_once($includeFile); + } + else + { + require_once(LINPHA_DIR.'/lib/modules/module.empty.php'); + } + break; } ?> \ No newline at end of file Modified: trunk/linpha2/lib/adodb/adodb-active-record.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-active-record.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-active-record.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,7 +1,7 @@ <?php /* -@version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +@version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Latest version is available at http://adodb.sourceforge.net Released under both BSD license and Lesser GPL library license. Modified: trunk/linpha2/lib/adodb/adodb-csvlib.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-csvlib.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-csvlib.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -8,7 +8,7 @@ /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. See License.txt. Modified: trunk/linpha2/lib/adodb/adodb-datadict.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-datadict.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-datadict.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,7 +1,7 @@ <?php /** - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/adodb-error.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-error.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-error.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /** - * @version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + * @version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. * Released under both BSD license and Lesser GPL library license. * Whenever there is any discrepancy between the two licenses, * the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/adodb-errorhandler.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-errorhandler.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-errorhandler.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /** - * @version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + * @version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. * Released under both BSD license and Lesser GPL library license. * Whenever there is any discrepancy between the two licenses, * the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/adodb-errorpear.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-errorpear.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-errorpear.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /** - * @version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + * @version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. * Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/adodb-exceptions.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-exceptions.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-exceptions.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,7 +1,7 @@ <?php /** - * @version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + * @version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. * Released under both BSD license and Lesser GPL library license. * Whenever there is any discrepancy between the two licenses, * the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/adodb-iterator.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-iterator.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-iterator.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,7 +1,7 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/adodb-lib.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-lib.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-lib.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -10,7 +10,7 @@ $ADODB_INCLUDED_LIB = 1; /* - @version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim\@natsoft.com.my). All rights reserved. + @version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim\@natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. See License.txt. @@ -417,7 +417,7 @@ } else $rewritesql = "SELECT COUNT(*) FROM (".$rewritesql.")"; - } else if (strncmp($zthis->databaseType,'postgres',8) == 0) { + } else if (strncmp($zthis->databaseType,'postgres',8) == 0 || strncmp($zthis->databaseType,'mysql',5) == 0) { $rewritesql = "SELECT COUNT(*) FROM ($rewritesql) _ADODB_ALIAS_"; } else { $rewritesql = "SELECT COUNT(*) FROM ($rewritesql)"; @@ -451,7 +451,7 @@ // strip off unneeded ORDER BY if no UNION if (preg_match('/\s*UNION\s*/is', $sql)) $rewritesql = $sql; - else $rewritesql = preg_replace('/(\sORDER\s+BY\s.*)/is','',$sql); + else $rewritesql = $rewritesql = adodb_strip_order_by($sql); if (preg_match('/\sLIMIT\s+[0-9]+/i',$sql,$limitarr)) $rewritesql .= $limitarr[0]; @@ -1012,7 +1012,6 @@ if (!is_numeric($val)) $val = (integer) $val; break; - default: $val = str_replace(array("'"," ","("),"",$arrFields[$fname]); // basic sql injection defence if (empty($val)) $val = '0'; Modified: trunk/linpha2/lib/adodb/adodb-pager.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-pager.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-pager.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,7 +1,7 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/adodb-pear.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-pear.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-pear.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /** - * @version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + * @version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. * Released under both BSD license and Lesser GPL library license. * Whenever there is any discrepancy between the two licenses, * the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/adodb-perf.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-perf.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-perf.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. See License.txt. Modified: trunk/linpha2/lib/adodb/adodb-php4.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-php4.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-php4.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,7 +1,7 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/adodb-time.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb-time.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb-time.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -242,6 +242,12 @@ CHANGELOG +- 11 Feb 2008 0.33 +* Bug in 0.32 fix for hour handling. Fixed. + +- 1 Feb 2008 0.32 +* Now adodb_mktime(0,0,0,12+$m,20,2040) works properly. + - 10 Jan 2008 0.31 * Now adodb_mktime(0,0,0,24,1,2037) works correctly. @@ -380,7 +386,7 @@ /* Version Number */ -define('ADODB_DATE_VERSION',0.31); +define('ADODB_DATE_VERSION',0.33); $ADODB_DATETIME_CLASS = (PHP_VERSION >= 5.2); @@ -426,10 +432,13 @@ /** Test Suite -*/ +*/ function adodb_date_test() { + for ($m=-24; $m<=24; $m++) + echo "$m :",adodb_date('d-m-Y',adodb_mktime(0,0,0,1+$m,20,2040)),"<br>"; + error_reporting(E_ALL); print "<h4>Testing adodb_date and adodb_mktime. version=".ADODB_DATE_VERSION.' PHP='.PHP_VERSION."</h4>"; @set_time_limit(0); @@ -1211,7 +1220,7 @@ ); - if ($usephpfns && ($year + $mon/12+$day/365.25+$hr*24*365.25 >= 2038)) $usephpfns = false; + if ($usephpfns && ($year + $mon/12+$day/365.25+$hr/(24*365.25) >= 2038)) $usephpfns = false; if ($usephpfns) { return $is_gmt ? @@ -1237,7 +1246,7 @@ $year = adodb_year_digit_check($year); if ($mon > 12) { - $y = floor($mon / 12); + $y = floor(($mon-1)/ 12); $year += $y; $mon -= $y*12; } else if ($mon < 1) { Modified: trunk/linpha2/lib/adodb/adodb.inc.php =================================================================== --- trunk/linpha2/lib/adodb/adodb.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/adodb.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -14,7 +14,7 @@ /** \mainpage - @version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + @version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. You can choose which license you prefer. @@ -169,7 +169,7 @@ /** * ADODB version as a string. */ - $ADODB_vers = 'V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released BSD & LGPL.'; + $ADODB_vers = 'V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released BSD & LGPL.'; /** * Determines whether recordset->RecordCount() is used. Modified: trunk/linpha2/lib/adodb/docs/docs-adodb.htm =================================================================== --- trunk/linpha2/lib/adodb/docs/docs-adodb.htm 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/docs/docs-adodb.htm 2008-02-13 18:55:13 UTC (rev 4874) @@ -15,7 +15,7 @@ <body bgcolor="#ffffff" text="black"> <h2>ADOdb Library for PHP</h2> -<p>V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com)</p> +<p>V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com)</p> <p><font size="1">This software is dual licensed using BSD-Style and LGPL. This means you can use it in compiled proprietary and commercial products.</font></p> @@ -2118,7 +2118,7 @@ Since 4.96, we return null if no records were found.</font></p> <p><font><b>GetRow<a name="getrow"></a>($sql,$inputarr=false)</b></font></p> <p><font>Executes the SQL and returns the first row as an array. The recordset and remaining - rows are discarded for you automatically. If an error occurs, false is returned.</font></p> + rows are discarded for you automatically. If no data is found, an empty recordset is returned. If an error occurs, false is returned.</font></p> <p><font><b>GetAll<a name="getall"></a>($sql,$inputarr=false)</b></font></p> <p>Executes the SQL and returns the all the rows as a 2-dimensional @@ -2929,6 +2929,11 @@ <h2><font>Change Log<a name="Changes"></a><a name="changes"></a><a name="changelog"></a></font></h2> +<p><a name="4.98"></a><b>4.98/5.04 13 Feb 2008</b> +<p> Fixed adodb_mktime problem which causes a performance bottleneck in $hrs. +<p>Added mysqli support to adodb_getcount(). +<p>Removed MYSQLI_TYPE_CHAR from MetaType(). + <p><a name="4.97"></a><b>4.97/5.03 22 Jan 2008</b> <p>Active Record: $ADODB_ASSOC_CASE=1 did not work properly. Fixed. <p>Modified Fields() in recordset class to support display null fields in FetchNextObject(). Modified: trunk/linpha2/lib/adodb/docs/docs-datadict.htm =================================================================== --- trunk/linpha2/lib/adodb/docs/docs-datadict.htm 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/docs/docs-datadict.htm 2008-02-13 18:55:13 UTC (rev 4874) @@ -20,7 +20,7 @@ </head> <body style="background-color: rgb(255, 255, 255);"> <h2>ADOdb Data Dictionary Library for PHP</h2> -<p>V5.03 22 Jan 2008 (c) 2000-2008 John Lim (<a +<p>V5.04 13 Feb 2008 (c) 2000-2008 John Lim (<a href="mailto:jlim#natsoft.com.my">jlim#natsoft.com.my</a>).<br> AXMLS (c) 2004 ars Cognita, Inc</p> <p><font size="1">This software is dual licensed using BSD-Style and Modified: trunk/linpha2/lib/adodb/docs/docs-perf.htm =================================================================== --- trunk/linpha2/lib/adodb/docs/docs-perf.htm 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/docs/docs-perf.htm 2008-02-13 18:55:13 UTC (rev 4874) @@ -18,7 +18,7 @@ </head> <body> <h3>The ADOdb Performance Monitoring Library</h3> -<p>V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my)</p> +<p>V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my)</p> <p><font size="1">This software is dual licensed using BSD-Style and LGPL. This means you can use it in compiled proprietary and commercial products.</font></p> Modified: trunk/linpha2/lib/adodb/docs/docs-session.htm =================================================================== --- trunk/linpha2/lib/adodb/docs/docs-session.htm 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/docs/docs-session.htm 2008-02-13 18:55:13 UTC (rev 4874) @@ -21,7 +21,7 @@ <body style="background-color: rgb(255, 255, 255);"> <h1>ADODB Session 2 Management Manual</h1> <p> -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my) +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my) </p> <p> <font size="1">This software is dual licensed using BSD-Style and LGPL. This means you can use it in compiled proprietary and commercial Modified: trunk/linpha2/lib/adodb/docs/docs-session.old.htm =================================================================== --- trunk/linpha2/lib/adodb/docs/docs-session.old.htm 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/docs/docs-session.old.htm 2008-02-13 18:55:13 UTC (rev 4874) @@ -21,7 +21,7 @@ <body style="background-color: rgb(255, 255, 255);"> <h3>ADODB Session Management Manual</h3> <p> -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my) +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my) </p> <p> <font size="1">This software is dual licensed using BSD-Style and LGPL. This means you can use it in compiled proprietary and commercial Modified: trunk/linpha2/lib/adodb/drivers/adodb-access.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-access.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-access.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. See License.txt. Modified: trunk/linpha2/lib/adodb/drivers/adodb-ado.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-ado.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-ado.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-ado5.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-ado5.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-ado5.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-ado_access.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-ado_access.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-ado_access.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. See License.txt. Modified: trunk/linpha2/lib/adodb/drivers/adodb-ado_mssql.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-ado_mssql.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-ado_mssql.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-borland_ibase.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-borland_ibase.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-borland_ibase.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-csv.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-csv.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-csv.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-db2.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-db2.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-db2.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* - V5.03 22 Jan 2008 (c) 2006 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2006 John Lim (jlim#natsoft.com.my). All rights reserved. This is a version of the ADODB driver for DB2. It uses the 'ibm_db2' PECL extension for PHP (http://pecl.php.net/package/ibm_db2), which in turn requires DB2 V8.2.2 or Modified: trunk/linpha2/lib/adodb/drivers/adodb-fbsql.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-fbsql.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-fbsql.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* - @version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + @version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-firebird.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-firebird.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-firebird.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-ibase.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-ibase.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-ibase.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-informix.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-informix.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-informix.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /** -* @version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +* @version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. * Released under both BSD license and Lesser GPL library license. * Whenever there is any discrepancy between the two licenses, * the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-informix72.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-informix72.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-informix72.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim. All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim. All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-ldap.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-ldap.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-ldap.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-mssql.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-mssql.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-mssql.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-mssqlpo.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-mssqlpo.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-mssqlpo.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /** -* @version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +* @version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. * Released under both BSD license and Lesser GPL library license. * Whenever there is any discrepancy between the two licenses, * the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-mysql.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-mysql.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-mysql.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-mysqli.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-mysqli.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-mysqli.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. @@ -945,7 +945,7 @@ case 'SET': case MYSQLI_TYPE_TINY_BLOB : - case MYSQLI_TYPE_CHAR : + #case MYSQLI_TYPE_CHAR : case MYSQLI_TYPE_STRING : case MYSQLI_TYPE_ENUM : case MYSQLI_TYPE_SET : @@ -1052,7 +1052,7 @@ case 'SET': case MYSQLI_TYPE_TINY_BLOB : - case MYSQLI_TYPE_CHAR : + #case MYSQLI_TYPE_CHAR : case MYSQLI_TYPE_STRING : case MYSQLI_TYPE_ENUM : case MYSQLI_TYPE_SET : Modified: trunk/linpha2/lib/adodb/drivers/adodb-mysqlpo.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-mysqlpo.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-mysqlpo.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,7 +1,7 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-mysqlt.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-mysqlt.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-mysqlt.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,7 +1,7 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-netezza.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-netezza.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-netezza.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. First cut at the Netezza Driver by Josh Eldridge joshuae74#hotmail.com Based on the previous postgres drivers. Modified: trunk/linpha2/lib/adodb/drivers/adodb-oci8.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-oci8.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-oci8.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,7 +1,7 @@ <?php /* - version V5.03 22 Jan 2008 (c) 2000-2008 John Lim. All rights reserved. + version V5.04 13 Feb 2008 (c) 2000-2008 John Lim. All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, Modified: trunk/linpha2/lib/adodb/drivers/adodb-oci805.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-oci805.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-oci805.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /** - * @version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + * @version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. * Released under both BSD license and Lesser GPL library license. * Whenever there is any discrepancy between the two licenses, * the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-oci8po.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-oci8po.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-oci8po.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim. All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim. All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-odbc.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-odbc.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-odbc.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-odbc_db2.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-odbc_db2.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-odbc_db2.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-odbc_mssql.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-odbc_mssql.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-odbc_mssql.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-odbc_oracle.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-odbc_oracle.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-odbc_oracle.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-odbtp.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-odbtp.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-odbtp.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. See License.txt. Modified: trunk/linpha2/lib/adodb/drivers/adodb-odbtp_unicode.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-odbtp_unicode.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-odbtp_unicode.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. See License.txt. Modified: trunk/linpha2/lib/adodb/drivers/adodb-oracle.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-oracle.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-oracle.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-pdo.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-pdo.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-pdo.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-pdo_mssql.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-pdo_mssql.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-pdo_mssql.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -2,7 +2,7 @@ /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-pdo_mysql.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-pdo_mysql.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-pdo_mysql.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -2,7 +2,7 @@ /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-pdo_oci.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-pdo_oci.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-pdo_oci.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -2,7 +2,7 @@ /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-pdo_pgsql.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-pdo_pgsql.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-pdo_pgsql.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,7 +1,7 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-postgres.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-postgres.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-postgres.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-postgres64.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-postgres64.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-postgres64.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-postgres7.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-postgres7.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-postgres7.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-postgres8.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-postgres8.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-postgres8.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-proxy.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-proxy.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-proxy.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-sapdb.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-sapdb.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-sapdb.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-sqlanywhere.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-sqlanywhere.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-sqlanywhere.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -version V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights +version V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, Modified: trunk/linpha2/lib/adodb/drivers/adodb-sqlite.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-sqlite.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-sqlite.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-sqlitepo.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-sqlitepo.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-sqlitepo.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-sybase.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-sybase.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-sybase.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim. All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim. All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-sybase_ase.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-sybase_ase.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-sybase_ase.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* - V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. + V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/drivers/adodb-vfp.inc.php =================================================================== --- trunk/linpha2/lib/adodb/drivers/adodb-vfp.inc.php 2008-02-13 18:42:19 UTC (rev 4873) +++ trunk/linpha2/lib/adodb/drivers/adodb-vfp.inc.php 2008-02-13 18:55:13 UTC (rev 4874) @@ -1,6 +1,6 @@ <?php /* -V5.03 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. +V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Modified: trunk/linpha2/lib/adodb/perf/perf-db2.inc.php =================================================================== --- trunk/linpha2/lib/adodb/perf/perf-db2.inc.php 2008-02-13 18:42:19 UTC (rev... [truncated message content] |