ShuanghongS c4fe290372 new version 1 yıl önce
..
contrib c4fe290372 new version 1 yıl önce
cute_icons_for_site c4fe290372 new version 1 yıl önce
datadict c4fe290372 new version 1 yıl önce
docs c4fe290372 new version 1 yıl önce
drivers c4fe290372 new version 1 yıl önce
lang c4fe290372 new version 1 yıl önce
pear c4fe290372 new version 1 yıl önce
perf c4fe290372 new version 1 yıl önce
replicate c4fe290372 new version 1 yıl önce
scripts c4fe290372 new version 1 yıl önce
session c4fe290372 new version 1 yıl önce
tests c4fe290372 new version 1 yıl önce
xsl c4fe290372 new version 1 yıl önce
.gitattributes c4fe290372 new version 1 yıl önce
.gitignore c4fe290372 new version 1 yıl önce
.mailmap c4fe290372 new version 1 yıl önce
LICENSE.md c4fe290372 new version 1 yıl önce
README.md c4fe290372 new version 1 yıl önce
adodb-active-record.inc.php c4fe290372 new version 1 yıl önce
adodb-active-recordx.inc.php c4fe290372 new version 1 yıl önce
adodb-csvlib.inc.php c4fe290372 new version 1 yıl önce
adodb-datadict.inc.php c4fe290372 new version 1 yıl önce
adodb-error.inc.php c4fe290372 new version 1 yıl önce
adodb-errorhandler.inc.php c4fe290372 new version 1 yıl önce
adodb-errorpear.inc.php c4fe290372 new version 1 yıl önce
adodb-exceptions.inc.php c4fe290372 new version 1 yıl önce
adodb-iterator.inc.php c4fe290372 new version 1 yıl önce
adodb-lib.inc.php c4fe290372 new version 1 yıl önce
adodb-memcache.lib.inc.php c4fe290372 new version 1 yıl önce
adodb-pager.inc.php c4fe290372 new version 1 yıl önce
adodb-pear.inc.php c4fe290372 new version 1 yıl önce
adodb-perf.inc.php c4fe290372 new version 1 yıl önce
adodb-php4.inc.php c4fe290372 new version 1 yıl önce
adodb-time.inc.php c4fe290372 new version 1 yıl önce
adodb-xmlschema.inc.php c4fe290372 new version 1 yıl önce
adodb-xmlschema03.inc.php c4fe290372 new version 1 yıl önce
adodb.inc.php c4fe290372 new version 1 yıl önce
composer.json c4fe290372 new version 1 yıl önce
pivottable.inc.php c4fe290372 new version 1 yıl önce
rsfilter.inc.php c4fe290372 new version 1 yıl önce
server.php c4fe290372 new version 1 yıl önce
toexport.inc.php c4fe290372 new version 1 yıl önce
tohtml.inc.php c4fe290372 new version 1 yıl önce
xmlschema.dtd c4fe290372 new version 1 yıl önce
xmlschema03.dtd c4fe290372 new version 1 yıl önce

README.md

ADOdb Library for PHP5

Join chat on Gitter Download ADOdb

(c) 2000-2013 John Lim (jlim@natsoft.com)
(c) 2014 Damien Regad, Mark Newnham and the

          [ADOdb community](https://github.com/ADOdb/ADOdb/graphs/contributors)

The ADOdb Library is dual-licensed, released under both the BSD 3-Clause and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, any later version. This means you can use it in proprietary products; see License for details.

Home page: http://adodb.org/

Introduction

PHP's database access functions are not standardized. This creates a need for a database class library to hide the differences between the different databases (encapsulate the differences) so we can easily switch databases.

The library currently supports MySQL, Interbase, Sybase, PostgreSQL, Oracle, Microsoft SQL server, Foxpro ODBC, Access ODBC, Informix, DB2, Sybase SQL Anywhere, generic ODBC and Microsoft's ADO.

We hope more people will contribute drivers to support other databases.

Installation

Unpack all the files into a directory accessible by your web server.

To test, try modifying some of the tutorial examples. Make sure you customize the connection settings correctly.

You can debug using:

<?php
include('adodb/adodb.inc.php');

$db = ADONewConnection($driver); # eg. 'mysql' or 'oci8'
$db->debug = true;
$db->Connect($server, $user, $password, $database);
$rs = $db->Execute('select * from some_small_table');
print "<pre>";
print_r($rs->GetRows());
print "</pre>";

Documentation and Examples

Refer to the ADOdb website for library documentation and examples. The documentation can also be downloaded for offline viewing.

There is also a tutorial that contrasts ADOdb code with PHP native MySQL code.

Files

  • adodb.inc.php is the library's main file. You only need to include this file.
  • adodb-*.inc.php are the database specific driver code.
  • adodb-session.php is the PHP4 session handling code.
  • test.php contains a list of test commands to exercise the class library.
  • testdatabases.inc.php contains the list of databases to apply the tests on.
  • Benchmark.php is a simple benchmark to test the throughput of a SELECT statement for databases described in testdatabases.inc.php. The benchmark tables are created in test.php.

Support

To discuss with the ADOdb development team and users, connect to our Gitter chatroom using your Github credentials.

Please report bugs, issues and feature requests on Github:

https://github.com/ADOdb/ADOdb/issues

You may also find legacy issues in

However, please note that they are not actively monitored and should only be used as reference.