36 |
kaklik |
1 |
>> ADODB Library for PHP4
|
|
|
2 |
|
|
|
3 |
(c) 2000-2004 John Lim (jlim@natsoft.com.my)
|
|
|
4 |
|
|
|
5 |
Released under both BSD and GNU Lesser GPL library license.
|
|
|
6 |
This means you can use it in proprietary products.
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
>> Introduction
|
|
|
10 |
|
|
|
11 |
PHP's database access functions are not standardised. This creates a
|
|
|
12 |
need for a database class library to hide the differences between the
|
|
|
13 |
different databases (encapsulate the differences) so we can easily
|
|
|
14 |
switch databases.
|
|
|
15 |
|
|
|
16 |
We currently support MySQL, Interbase, Sybase, PostgreSQL, Oracle,
|
|
|
17 |
Microsoft SQL server, Foxpro ODBC, Access ODBC, Informix, DB2,
|
|
|
18 |
Sybase SQL Anywhere, generic ODBC and Microsoft's ADO.
|
|
|
19 |
|
|
|
20 |
We hope more people will contribute drivers to support other databases.
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
>> Documentation and Examples
|
|
|
24 |
|
|
|
25 |
Refer to the adodb/docs directory for full documentation and examples.
|
|
|
26 |
There is also a tutorial tute.htm that contrasts ADODB code with
|
|
|
27 |
mysql code.
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
>>> Files
|
|
|
31 |
Adodb.inc.php is the main file. You need to include only this file.
|
|
|
32 |
|
|
|
33 |
Adodb-*.inc.php are the database specific driver code.
|
|
|
34 |
|
|
|
35 |
Test.php contains a list of test commands to exercise the class library.
|
|
|
36 |
|
|
|
37 |
Adodb-session.php is the PHP4 session handling code.
|
|
|
38 |
|
|
|
39 |
Testdatabases.inc.php contains the list of databases to apply the tests on.
|
|
|
40 |
|
|
|
41 |
Benchmark.php is a simple benchmark to test the throughput of a simple SELECT
|
|
|
42 |
statement for databases described in testdatabases.inc.php. The benchmark
|
|
|
43 |
tables are created in test.php.
|
|
|
44 |
|
|
|
45 |
readme.htm is the main documentation.
|
|
|
46 |
|
|
|
47 |
tute.htm is the tutorial.
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
>> More Info
|
|
|
51 |
|
|
|
52 |
For more information, including installation see readme.htm
|
|
|
53 |
or visit
|
|
|
54 |
http://adodb.sourceforge.net/
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
>> Feature Requests and Bug Reports
|
|
|
58 |
|
|
|
59 |
Email to jlim@natsoft.com.my
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|