]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - lib/WikiDB/adodb/readme.htm
new ADODB library 4.22 with multiple drivers (not only mysql as before), major change...
[SourceForge/phpwiki.git] / lib / WikiDB / adodb / readme.htm
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>.</p>
16 <ul><li>The ADOdb documentation has moved to <a href="http://phplens.com/lens/adodb/docs-adodb.htm">docs-adodb.htm</a>.
17         This allows you to query, update and insert records using a portable API.</li>
18 <li>The ADOdb data dictionary docs are at <a href="http://phplens.com/lens/adodb/docs-datadict.htm">docs-datadict.htm</a>. 
19         This allows you to create database tables and indexes in a portable manner.</li>
20 <li>The ADOdb database performance monitoring docs are at <a href="http://phplens.com/lens/adodb/docs-perf.htm">docs-perf.htm</a>. 
21         This allows you to perform health checks, tune and monitor your database.</li>
22 <li>The ADOdb database-backed session docs are at <a href="http://phplens.com/lens/adodb/docs-session.htm">docs-session.htm</a>.</li>
23 <li>The ADOdb Date Time Library documentation to support dates outside the 32-bit range, at <a href="http://php.weblogs.com/adodb_date_time_library">adodb_date_time_library</a>.</li>
24 </ul>
25
26 <h3>Installation</h3>
27 Make sure you are running PHP4.0.4 or later. Unpack all the files into a directory accessible by your webserver.
28 <p>
29 To test, try modifying some of the tutorial examples. Make sure you customize the connection settings correctly. You can debug using:
30 <pre>
31 &lt;?php
32 include('adodb/adodb.inc.php');
33
34 $db = <b>ADONewConnection</b>($driver); # eg. 'mysql' or 'oci8' 
35 $db->debug = true;
36 $db-><b>Connect</b>($server, $user, $password, $database);
37 $rs = $db-><b>Execute</b>('select * from some_small_table');
38 print "&lt;pre>";
39 print_r($rs-><b>GetRows</b>());
40 print "&lt;/pre>";
41 ?>
42 </pre>
43 <h3>How are people using ADOdb</h3>
44 Here are some examples of how people are using ADOdb (for a much longer list, 
45 visit <a href="http://php.weblogs.com/adodb-cool-applications">http://php.weblogs.com/adodb-cool-applications</a>): 
46 <ul>
47         <li> <strong>PhpLens</strong> is a commercial data grid component that allows 
48                 both cool Web designers and serious unshaved programmers to develop and 
49                 maintain databases on the Web easily. Developed by the author of ADOdb. 
50         </li>
51         <li> <strong>PHAkt</strong>: PHP Extension for DreamWeaver Ultradev allows 
52                 you to script PHP in the popular Web page editor. Database handling provided 
53                 by ADOdb. </li>
54         <li> <strong>Analysis Console for Intrusion Databases (ACID)</strong>: PHP-based 
55                 analysis engine to search and process a database of security incidents 
56                 generated by security-related software such as IDSes and firewalls (e.g. 
57                 Snort, ipchains). By Roman Danyliw. </li>
58         <li> <strong>PostNuke</strong> is a very popular free content management system 
59                 and weblog system. It offers full CSS support, HTML 4.01 transitional 
60                 compliance throughout, an advanced blocks system, and is fully multi-lingual 
61                 enabled. </li>
62         <li><strong> EasyPublish CMS</strong> is another free content management system 
63                 for managing information and integrated modules on your internet, intranet- 
64                 and extranet-sites. From Norway. </li>
65         <li> <strong>NOLA</strong> is a full featured accounting, inventory, and job 
66                 tracking application. It is licensed under the GPL, and developed by Noguska. 
67         </li>
68 </ul>
69 </body>
70 </html>