00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 include('../adodb.inc.php');
00016 include('../tohtml.inc.php');
00017
00018 include('../adodb-errorpear.inc.php');
00019
00020 if (0) {
00021 $conn = &ADONewConnection('mysql');
00022 $conn->debug=1;
00023 $conn->PConnect("localhost","root","","xphplens");
00024 print $conn->databaseType.':'.$conn->GenID().'<br>';
00025 }
00026
00027 if (0) {
00028 $conn = &ADONewConnection("oci8");
00029 $conn->debug=1;
00030 $conn->PConnect("falcon", "scott", "tiger", "juris8.ecosystem.natsoft.com.my");
00031 print $conn->databaseType.':'.$conn->GenID();
00032 }
00033
00034 if (0) {
00035 $conn = &ADONewConnection("ibase");
00036 $conn->debug=1;
00037 $conn->Connect("localhost:c:\\Interbase\\Examples\\Database\\employee.gdb", "sysdba", "masterkey", "");
00038 print $conn->databaseType.':'.$conn->GenID().'<br>';
00039 }
00040
00041 if (0) {
00042 $conn = &ADONewConnection('postgres');
00043 $conn->debug=1;
00044 @$conn->PConnect("susetikus","tester","test","test");
00045 print $conn->databaseType.':'.$conn->GenID().'<br>';
00046 }
00047 ?>