Documentation TYPO3 par Ameos

test5.php

00001 <?php
00002 /* 
00003 V4.80 8 Mar 2006  (c) 2000-2006 John Lim (jlim#natsoft.com.my). All rights reserved.
00004   Released under both BSD license and Lesser GPL library license. 
00005   Whenever there is any discrepancy between the two licenses, 
00006   the BSD license will take precedence. 
00007   Set tabs to 4 for best viewing.
00008         
00009   Latest version is available at http://adodb.sourceforge.net
00010 */
00011 
00012 
00013 // Select an empty record from the database 
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");  // create a connection
00029         $conn->debug=1;
00030         $conn->PConnect("falcon", "scott", "tiger", "juris8.ecosystem.natsoft.com.my"); // connect to MySQL, testdb
00031         print $conn->databaseType.':'.$conn->GenID();
00032 }
00033 
00034 if (0) {
00035         $conn = &ADONewConnection("ibase");  // create a connection
00036         $conn->debug=1;
00037         $conn->Connect("localhost:c:\\Interbase\\Examples\\Database\\employee.gdb", "sysdba", "masterkey", ""); // connect to MySQL, testdb
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 ?>


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6