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