1 | <html> |
---|
2 | <head> |
---|
3 | <title>ADODB Manual</title> |
---|
4 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
5 | <XSTYLE |
---|
6 | body,td {font-family:Arial,Helvetica,sans-serif;font-size:11pt} |
---|
7 | pre {font-size:9pt} |
---|
8 | .toplink {font-size:8pt} |
---|
9 | /> |
---|
10 | </head> |
---|
11 | <body bgcolor="#FFFFFF"> |
---|
12 | |
---|
13 | <h3>ADOdb Library for PHP</h3> |
---|
14 | <p>ADOdb is a suite of database libraries that allow you to connect to multiple |
---|
15 | databases in a portable manner. Download from <a href=http://php.weblogs.com/adodb>http://php.weblogs.com/adodb</a>. |
---|
16 | <ul><li>The ADOdb documentation has moved to <a href=docs-adodb.htm>docs-adodb.htm</a> |
---|
17 | This allows you to query, update and insert records using a portable API. |
---|
18 | <p><li>The ADOdb data dictionary docs are at <a href=docs-datadict.htm>docs-datadict.htm</a>. |
---|
19 | This allows you to create database tables and indexes in a portable manner. |
---|
20 | <p><li>The ADOdb database performance monitoring docs are at <a href=docs-perf.htm>docs-perf.htm</a>. |
---|
21 | This allows you to perform health checks, tune and monitor your database. |
---|
22 | <p><li>The ADOdb database-backed session docs are at <a href=docs-session.htm>docs-session.htm</a>. |
---|
23 | </ul> |
---|
24 | <p> |
---|
25 | <h3>Installation</h3> |
---|
26 | Make sure you are running PHP4.0.4 or later. Unpack all the files into a directory accessible by your webserver. |
---|
27 | <p> |
---|
28 | To test, try modifying some of the tutorial examples. Make sure you customize the connection settings correctly. You can debug using: |
---|
29 | <pre> |
---|
30 | <?php |
---|
31 | include('adodb/adodb.inc.php'); |
---|
32 | |
---|
33 | $db = <b>ADONewConnection</b>($driver); # eg. 'mysql' or 'oci8' |
---|
34 | $db->debug = true; |
---|
35 | $db-><b>Connect</b>($server, $user, $password, $database); |
---|
36 | $rs = $db-><b>Execute</b>('select * from some_small_table'); |
---|
37 | print "<pre>"; |
---|
38 | print_r($rs-><b>GetRows</b>()); |
---|
39 | print "</pre>"; |
---|
40 | ?> |
---|
41 | </pre> |
---|
42 | <h3>How are people using ADOdb</h3> |
---|
43 | Here are some examples of how people are using ADOdb (for a much longer list, |
---|
44 | visit <a href="http://php.weblogs.com/adodb-cool-applications">http://php.weblogs.com/adodb-cool-applications</a>): |
---|
45 | <ul> |
---|
46 | <li> <strong>PhpLens</strong> is a commercial data grid component that allows |
---|
47 | both cool Web designers and serious unshaved programmers to develop and |
---|
48 | maintain databases on the Web easily. Developed by the author of ADOdb. |
---|
49 | </li> |
---|
50 | <li> <strong>PHAkt</strong>: PHP Extension for DreamWeaver Ultradev allows |
---|
51 | you to script PHP in the popular Web page editor. Database handling provided |
---|
52 | by ADOdb. </li> |
---|
53 | <li> <strong>Analysis Console for Intrusion Databases (ACID)</strong>: PHP-based |
---|
54 | analysis engine to search and process a database of security incidents |
---|
55 | generated by security-related software such as IDSes and firewalls (e.g. |
---|
56 | Snort, ipchains). By Roman Danyliw. </li> |
---|
57 | <li> <strong>PostNuke</strong> is a very popular free content management system |
---|
58 | and weblog system. It offers full CSS support, HTML 4.01 transitional |
---|
59 | compliance throughout, an advanced blocks system, and is fully multi-lingual |
---|
60 | enabled. </li> |
---|
61 | <li><strong> EasyPublish CMS</strong> is another free content management system |
---|
62 | for managing information and integrated modules on your internet, intranet- |
---|
63 | and extranet-sites. From Norway. </li> |
---|
64 | <li> <strong>NOLA</strong> is a full featured accounting, inventory, and job |
---|
65 | tracking application. It is licensed under the GPL, and developed by Noguska. |
---|
66 | </li> |
---|
67 | </ul> |
---|
68 | </body> |
---|
69 | </html> |
---|