Files
moodle/lib/adodb
Damyon Wiese fc9a1820e5 MDL-52544 oracle: Apply upstream pull request to AdoDB oracle driver
Upstream: https://github.com/ADOdb/ADOdb/pull/259

Prevent segfault with ocipo driver on php7.

The OCIFetchinto function is causing segfaults on php7 - probably because the fields array
is not initialised or it is optimised out. This fixes just changes to use the safer function
oci_fetch_array instead.
2016-07-13 08:46:01 +08:00
..
2012-04-21 20:02:29 +02:00

>> ADODB Library for PHP5



(c) 2000-2012 John Lim (jlim@natsoft.com)



Released under both BSD and GNU Lesser GPL library license. 

This means you can use it in proprietary products.





Introduction

============



PHP's database access functions are not standardised. 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.



We currently support 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.





Documentation and Examples

==========================



Refer to the adodb/docs directory for full documentation and examples. 

There is also a  tutorial tute.htm that contrasts ADODB code with 

mysql code.







Files

=====



adodb.inc.php is the main file. You need to include only this file.



adodb-*.inc.php are the database specific driver code.



test.php contains a list of test commands to exercise the class library.



adodb-session.php is the PHP4 session handling code.



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 simple SELECT 

statement for databases described in testdatabases.inc.php. The benchmark

tables are created in test.php.



readme.htm is the main documentation.



tute.htm is the tutorial.





More Info

=========



For more information, including installation see readme.htm

or visit

           http://adodb.sourceforge.net/





>> Feature Requests and Bug Reports



Email to jlim@natsoft.com