PageRenderTime 47ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/ext/adodb_5.18a/tests/testdatabases.inc.php

https://bitbucket.org/pontikis/tolc
PHP | 454 lines | 324 code | 98 blank | 32 comment | 103 complexity | 32b20a26fd991d4f66d9b5d2edc6ebb1 MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?php
  2. /*
  3. V4.80 8 Mar 2006 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
  4. Released under both BSD license and Lesser GPL library license.
  5. Whenever there is any discrepancy between the two licenses,
  6. the BSD license will take precedence.
  7. */
  8. /* this file is used by the ADODB test program: test.php */
  9. ?>
  10. <table><tr valign=top><td>
  11. <form method=get>
  12. <input type=checkbox name="testaccess" value=1 <?php echo !empty($testaccess) ? 'checked' : '' ?>> <b>Access</b><br>
  13. <input type=checkbox name="testibase" value=1 <?php echo !empty($testibase) ? 'checked' : '' ?>> <b>Interbase</b><br>
  14. <input type=checkbox name="testmssql" value=1 <?php echo !empty($testmssql) ? 'checked' : '' ?>> <b>MSSQL</b><br>
  15. <input type=checkbox name="testmysql" value=1 <?php echo !empty($testmysql) ? 'checked' : '' ?>> <b>MySQL</b><br>
  16. <input type=checkbox name="testmysqlodbc" value=1 <?php echo !empty($testmysqlodbc) ? 'checked' : '' ?>> <b>MySQL ODBC</b><br>
  17. <input type=checkbox name="testmysqli" value=1 <?php echo !empty($testmysqli) ? 'checked' : '' ?>> <b>MySQLi</b>
  18. <br>
  19. <td><input type=checkbox name="testsqlite" value=1 <?php echo !empty($testsqlite) ? 'checked' : '' ?>> <b>SQLite</b><br>
  20. <input type=checkbox name="testproxy" value=1 <?php echo !empty($testproxy) ? 'checked' : '' ?>> <b>MySQL Proxy</b><br>
  21. <input type=checkbox name="testoracle" value=1 <?php echo !empty($testoracle) ? 'checked' : '' ?>> <b>Oracle (oci8)</b> <br>
  22. <input type=checkbox name="testpostgres" value=1 <?php echo !empty($testpostgres) ? 'checked' : '' ?>> <b>PostgreSQL</b><br>
  23. <input type=checkbox name="testpgodbc" value=1 <?php echo !empty($testpgodbc) ? 'checked' : '' ?>> <b>PostgreSQL ODBC</b><br>
  24. <td>
  25. <input type=checkbox name="testpdopgsql" value=1 <?php echo !empty($testpdopgsql) ? 'checked' : '' ?>> <b>PgSQL PDO</b><br>
  26. <input type=checkbox name="testpdomysql" value=1 <?php echo !empty($testpdomysql) ? 'checked' : '' ?>> <b>MySQL PDO</b><br>
  27. <input type=checkbox name="testpdosqlite" value=1 <?php echo !empty($testpdosqlite) ? 'checked' : '' ?>> <b>SQLite PDO</b><br>
  28. <input type=checkbox name="testpdoaccess" value=1 <?php echo !empty($testpdoaccess) ? 'checked' : '' ?>> <b>Access PDO</b><br>
  29. <input type=checkbox name="testpdomssql" value=1 <?php echo !empty($testpdomssql) ? 'checked' : '' ?>> <b>MSSQL PDO</b><br>
  30. <input type=checkbox name="testpdoora" value=1 <?php echo !empty($testpdoora) ? 'checked' : '' ?>> <b>OCI PDO</b><br>
  31. <td><input type=checkbox name="testdb2" value=1 <?php echo !empty($testdb2) ? 'checked' : '' ?>> DB2<br>
  32. <input type=checkbox name="testvfp" value=1 <?php echo !empty($testvfp) ? 'checked' : '' ?>> VFP+ODBTP<br>
  33. <input type=checkbox name="testado" value=1 <?php echo !empty($testado) ? 'checked' : '' ?>> ADO (for mssql and access)<br>
  34. <input type=checkbox name="nocountrecs" value=1 <?php echo !empty($nocountrecs) ? 'checked' : '' ?>> $ADODB_COUNTRECS=false<br>
  35. <input type=checkbox name="nolog" value=1 <?php echo !empty($nolog) ? 'checked' : '' ?>> No SQL Logging<br>
  36. <input type=checkbox name="time" value=1 <?php echo !empty($_GET['time']) ? 'checked' : '' ?>> ADOdb time test
  37. </table>
  38. <input type=submit>
  39. </form>
  40. <?php
  41. if ($ADODB_FETCH_MODE != ADODB_FETCH_DEFAULT) print "<h3>FETCH MODE IS NOT ADODB_FETCH_DEFAULT</h3>";
  42. if (isset($nocountrecs)) $ADODB_COUNTRECS = false;
  43. // cannot test databases below, but we include them anyway to check
  44. // if they parse ok...
  45. if (sizeof($_GET) || !isset($_SERVER['HTTP_HOST'])) {
  46. echo "<BR>";
  47. ADOLoadCode2("sybase");
  48. ADOLoadCode2("postgres");
  49. ADOLoadCode2("postgres7");
  50. ADOLoadCode2("firebird");
  51. ADOLoadCode2("borland_ibase");
  52. ADOLoadCode2("informix");
  53. ADOLoadCode2('mysqli');
  54. if (defined('ODBC_BINMODE_RETURN')) {
  55. ADOLoadCode2("sqlanywhere");
  56. ADOLoadCode2("access");
  57. }
  58. ADOLoadCode2("mysql");
  59. ADOLoadCode2("oci8");
  60. }
  61. function ADOLoadCode2($d)
  62. {
  63. ADOLoadCode($d);
  64. $c = ADONewConnection($d);
  65. echo "Loaded $d ",($c ? 'ok' : 'extension not installed'),"<br>";
  66. }
  67. flush();
  68. if (!empty($testpostgres)) {
  69. //ADOLoadCode("postgres");
  70. $db = ADONewConnection('postgres');
  71. print "<h1>Connecting $db->databaseType...</h1>";
  72. if ($db->Connect("localhost","tester","test","northwind")) {
  73. testdb($db,"create table ADOXYZ (id integer, firstname char(24), lastname varchar,created date)");
  74. }else
  75. print "ERROR: PostgreSQL requires a database called test on server, user tester, password test.<BR>".$db->ErrorMsg();
  76. }
  77. if (!empty($testpgodbc)) {
  78. $db = ADONewConnection('odbc');
  79. $db->hasTransactions = false;
  80. print "<h1>Connecting $db->databaseType...</h1>";
  81. if ($db->PConnect('Postgresql')) {
  82. $db->hasTransactions = true;
  83. testdb($db,
  84. "create table ADOXYZ (id int, firstname char(24), lastname char(24), created date) type=innodb");
  85. } else print "ERROR: PostgreSQL requires a database called test on server, user tester, password test.<BR>".$db->ErrorMsg();
  86. }
  87. if (!empty($testibase)) {
  88. //$_GET['nolog'] = true;
  89. $db = ADONewConnection('firebird');
  90. print "<h1>Connecting $db->databaseType...</h1>";
  91. if ($db->PConnect("localhost:d:\\firebird\\151\\examples\\EMPLOYEE.fdb", "sysdba", "masterkey", ""))
  92. testdb($db,"create table ADOXYZ (id integer, firstname char(24), lastname char(24),price numeric(12,2),created date)");
  93. else print "ERROR: Interbase test requires a database called employee.gdb".'<BR>'.$db->ErrorMsg();
  94. }
  95. if (!empty($testsqlite)) {
  96. $path =urlencode('d:\inetpub\adodb\sqlite.db');
  97. $dsn = "sqlite://$path/";
  98. $db = ADONewConnection($dsn);
  99. //echo $dsn;
  100. //$db = ADONewConnection('sqlite');
  101. if ($db && $db->PConnect("d:\\inetpub\\adodb\\sqlite.db", "", "", "")) {
  102. print "<h1>Connecting $db->databaseType...</h1>";
  103. testdb($db,"create table ADOXYZ (id int, firstname char(24), lastname char(24),created datetime)");
  104. } else
  105. print "ERROR: SQLite";
  106. }
  107. if (!empty($testpdopgsql)) {
  108. $connstr = "pgsql:dbname=test";
  109. $u = 'tester';$p='test';
  110. $db = ADONewConnection('pdo');
  111. print "<h1>Connecting $db->databaseType...</h1>";
  112. $db->Connect($connstr,$u,$p) || die("CONNECT FAILED");
  113. testdb($db,
  114. "create table ADOXYZ (id int, firstname char(24), lastname char(24), created date)");
  115. }
  116. if (!empty($testpdomysql)) {
  117. $connstr = "mysql:dbname=northwind";
  118. $u = 'root';$p='';
  119. $db = ADONewConnection('pdo');
  120. print "<h1>Connecting $db->databaseType...</h1>";
  121. $db->Connect($connstr,$u,$p) || die("CONNECT FAILED");
  122. testdb($db,
  123. "create table ADOXYZ (id int, firstname char(24), lastname char(24), created date)");
  124. }
  125. if (!empty($testpdomssql)) {
  126. $connstr = "mssql:dbname=northwind";
  127. $u = 'sa';$p='natsoft';
  128. $db = ADONewConnection('pdo');
  129. print "<h1>Connecting $db->databaseType...</h1>";
  130. $db->Connect($connstr,$u,$p) || die("CONNECT FAILED");
  131. testdb($db,
  132. "create table ADOXYZ (id int, firstname char(24), lastname char(24), created date)");
  133. }
  134. if (!empty($testpdosqlite)) {
  135. $connstr = "sqlite:d:/inetpub/adodb/sqlite-pdo.db3";
  136. $u = '';$p='';
  137. $db = ADONewConnection('pdo');
  138. $db->hasTransactions = false;
  139. print "<h1>Connecting $db->databaseType...</h1>";
  140. $db->Connect($connstr,$u,$p) || die("CONNECT FAILED");
  141. testdb($db,
  142. "create table ADOXYZ (id int, firstname char(24), lastname char(24), created date)");
  143. }
  144. if (!empty($testpdoaccess)) {
  145. $connstr = 'odbc:nwind';
  146. $u = '';$p='';
  147. $db = ADONewConnection('pdo');
  148. $db->hasTransactions = false;
  149. print "<h1>Connecting $db->databaseType...</h1>";
  150. $db->Connect($connstr,$u,$p) || die("CONNECT FAILED");
  151. testdb($db,
  152. "create table ADOXYZ (id int, firstname char(24), lastname char(24), created date)");
  153. }
  154. if (!empty($testpdoora)) {
  155. $connstr = 'oci:';
  156. $u = 'scott';$p='natsoft';
  157. $db = ADONewConnection('pdo');
  158. #$db->hasTransactions = false;
  159. print "<h1>Connecting $db->databaseType...</h1>";
  160. $db->Connect($connstr,$u,$p) || die("CONNECT FAILED");
  161. testdb($db,
  162. "create table ADOXYZ (id int, firstname char(24), lastname char(24), created date)");
  163. }
  164. // REQUIRES ODBC DSN CALLED nwind
  165. if (!empty($testaccess)) {
  166. $db = ADONewConnection('access');
  167. print "<h1>Connecting $db->databaseType...</h1>";
  168. $access = 'd:\inetpub\wwwroot\php\NWIND.MDB';
  169. $dsn = "nwind";
  170. $dsn = "Driver={Microsoft Access Driver (*.mdb)};Dbq=$access;Uid=Admin;Pwd=;";
  171. //$dsn = 'Provider=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=' . $access . ';';
  172. if ($db->PConnect($dsn, "", "", ""))
  173. testdb($db,"create table ADOXYZ (id int, firstname char(24), lastname char(24),created datetime)");
  174. else print "ERROR: Access test requires a Windows ODBC DSN=nwind, Access driver";
  175. }
  176. if (!empty($testaccess) && !empty($testado)) { // ADO ACCESS
  177. $db = ADONewConnection("ado_access");
  178. print "<h1>Connecting $db->databaseType...</h1>";
  179. $access = 'd:\inetpub\wwwroot\php\NWIND.MDB';
  180. $myDSN = 'PROVIDER=Microsoft.Jet.OLEDB.4.0;'
  181. . 'DATA SOURCE=' . $access . ';';
  182. //. 'USER ID=;PASSWORD=;';
  183. $_GET['nolog'] = 1;
  184. if ($db->PConnect($myDSN, "", "", "")) {
  185. print "ADO version=".$db->_connectionID->version."<br>";
  186. testdb($db,"create table ADOXYZ (id int, firstname char(24), lastname char(24),created datetime)");
  187. } else print "ERROR: Access test requires a Access database $access".'<BR>'.$db->ErrorMsg();
  188. }
  189. if (!empty($testvfp)) { // ODBC
  190. $db = ADONewConnection('vfp');
  191. print "<h1>Connecting $db->databaseType...</h1>";flush();
  192. if ( $db->PConnect("vfp-adoxyz")) {
  193. testdb($db,"create table d:\\inetpub\\adodb\\ADOXYZ (id int, firstname char(24), lastname char(24),created date)");
  194. } else print "ERROR: Visual FoxPro test requires a Windows ODBC DSN=vfp-adoxyz, VFP driver";
  195. echo "<hr />";
  196. $db = ADONewConnection('odbtp');
  197. if ( $db->PConnect('localhost','DRIVER={Microsoft Visual FoxPro Driver};SOURCETYPE=DBF;SOURCEDB=d:\inetpub\adodb;EXCLUSIVE=NO;')) {
  198. print "<h1>Connecting $db->databaseType...</h1>";flush();
  199. testdb($db,"create table d:\\inetpub\\adodb\\ADOXYZ (id int, firstname char(24), lastname char(24),created date)");
  200. } else print "ERROR: Visual FoxPro odbtp requires a Windows ODBC DSN=vfp-adoxyz, VFP driver";
  201. }
  202. // REQUIRES MySQL server at localhost with database 'test'
  203. if (!empty($testmysql)) { // MYSQL
  204. if (PHP_VERSION >= 5 || $_SERVER['HTTP_HOST'] == 'localhost') $server = 'localhost';
  205. else $server = "mangrove";
  206. $user = 'root'; $password = ''; $database = 'northwind';
  207. $db = ADONewConnection("mysqlt://$user:$password@$server/$database?persist");
  208. print "<h1>Connecting $db->databaseType...</h1>";
  209. if (true || $db->PConnect($server, "root", "", "northwind")) {
  210. //$db->Execute("DROP TABLE ADOXYZ") || die('fail drop');
  211. //$db->debug=1;$db->Execute('drop table ADOXYZ');
  212. testdb($db,
  213. "create table ADOXYZ (id int, firstname char(24), lastname char(24), created date) Type=InnoDB");
  214. } else print "ERROR: MySQL test requires a MySQL server on localhost, userid='admin', password='', database='test'".'<BR>'.$db->ErrorMsg();
  215. }
  216. // REQUIRES MySQL server at localhost with database 'test'
  217. if (!empty($testmysqli)) { // MYSQL
  218. $db = ADONewConnection('mysqli');
  219. print "<h1>Connecting $db->databaseType...</h1>";
  220. if (PHP_VERSION >= 5 || $_SERVER['HTTP_HOST'] == 'localhost') $server = 'localhost';
  221. else $server = "mangrove";
  222. if ($db->PConnect($server, "root", "", "northwind")) {
  223. //$db->debug=1;$db->Execute('drop table ADOXYZ');
  224. testdb($db,
  225. "create table ADOXYZ (id int, firstname char(24), lastname char(24), created date)");
  226. } else print "ERROR: MySQL test requires a MySQL server on localhost, userid='admin', password='', database='test'".'<BR>'.$db->ErrorMsg();
  227. }
  228. // REQUIRES MySQL server at localhost with database 'test'
  229. if (!empty($testmysqlodbc)) { // MYSQL
  230. $db = ADONewConnection('odbc');
  231. $db->hasTransactions = false;
  232. print "<h1>Connecting $db->databaseType...</h1>";
  233. if ($_SERVER['HTTP_HOST'] == 'localhost') $server = 'localhost';
  234. else $server = "mangrove";
  235. if ($db->PConnect('mysql', "root", ""))
  236. testdb($db,
  237. "create table ADOXYZ (id int, firstname char(24), lastname char(24), created date) type=innodb");
  238. else print "ERROR: MySQL test requires a MySQL server on localhost, userid='admin', password='', database='test'".'<BR>'.$db->ErrorMsg();
  239. }
  240. if (!empty($testproxy)){
  241. $db = ADONewConnection('proxy');
  242. print "<h1>Connecting $db->databaseType...</h1>";
  243. if ($_SERVER['HTTP_HOST'] == 'localhost') $server = 'localhost';
  244. if ($db->PConnect('http://localhost/php/phplens/adodb/server.php'))
  245. testdb($db,
  246. "create table ADOXYZ (id int, firstname char(24), lastname char(24), created date) type=innodb");
  247. else print "ERROR: MySQL test requires a MySQL server on localhost, userid='admin', password='', database='test'".'<BR>'.$db->ErrorMsg();
  248. }
  249. ADOLoadCode('oci805');
  250. ADOLoadCode("oci8po");
  251. if (!empty($testoracle)) {
  252. $dsn = "oci8";//://scott:natsoft@kk2?persist";
  253. $db = ADONewConnection($dsn );//'oci8');
  254. //$db->debug=1;
  255. print "<h1>Connecting $db->databaseType...</h1>";
  256. if ($db->Connect('mobydick', "scott", "natsoft",'SID=mobydick'))
  257. testdb($db,"create table ADOXYZ (id int, firstname varchar(24), lastname varchar(24),created date)");
  258. else
  259. print "ERROR: Oracle test requires an Oracle server setup with scott/natsoft".'<BR>'.$db->ErrorMsg();
  260. }
  261. ADOLoadCode("oracle"); // no longer supported
  262. if (false && !empty($testoracle)) {
  263. $db = ADONewConnection();
  264. print "<h1>Connecting $db->databaseType...</h1>";
  265. if ($db->PConnect("", "scott", "tiger", "natsoft.domain"))
  266. testdb($db,"create table ADOXYZ (id int, firstname varchar(24), lastname varchar(24),created date)");
  267. else print "ERROR: Oracle test requires an Oracle server setup with scott/tiger".'<BR>'.$db->ErrorMsg();
  268. }
  269. ADOLoadCode("odbc_db2"); // no longer supported
  270. if (!empty($testdb2)) {
  271. if (PHP_VERSION>=5.1) {
  272. $db = ADONewConnection("db2");
  273. print "<h1>Connecting $db->databaseType...</h1>";
  274. #$db->curMode = SQL_CUR_USE_ODBC;
  275. #$dsn = "driver={IBM db2 odbc DRIVER};Database=test;hostname=localhost;port=50000;protocol=TCPIP; uid=natsoft; pwd=guest";
  276. if ($db->Connect('localhost','natsoft','guest','test')) {
  277. testdb($db,"create table ADOXYZ (id int, firstname varchar(24), lastname varchar(24),created date)");
  278. } else print "ERROR: DB2 test requires an server setup with odbc data source db2_sample".'<BR>'.$db->ErrorMsg();
  279. } else {
  280. $db = ADONewConnection("odbc_db2");
  281. print "<h1>Connecting $db->databaseType...</h1>";
  282. $dsn = "db2test";
  283. #$db->curMode = SQL_CUR_USE_ODBC;
  284. #$dsn = "driver={IBM db2 odbc DRIVER};Database=test;hostname=localhost;port=50000;protocol=TCPIP; uid=natsoft; pwd=guest";
  285. if ($db->Connect($dsn)) {
  286. testdb($db,"create table ADOXYZ (id int, firstname varchar(24), lastname varchar(24),created date)");
  287. } else print "ERROR: DB2 test requires an server setup with odbc data source db2_sample".'<BR>'.$db->ErrorMsg();
  288. }
  289. echo "<hr />";
  290. flush();
  291. $dsn = "driver={IBM db2 odbc DRIVER};Database=sample;hostname=localhost;port=50000;protocol=TCPIP; uid=root; pwd=natsoft";
  292. $db = ADONewConnection('odbtp');
  293. if ($db->Connect('127.0.0.1',$dsn)) {
  294. $db->debug=1;
  295. $arr = $db->GetArray( "||SQLProcedures" ); adodb_pr($arr);
  296. $arr = $db->GetArray( "||SQLProcedureColumns|||GET_ROUTINE_SAR" );adodb_pr($arr);
  297. testdb($db,"create table ADOXYZ (id int, firstname varchar(24), lastname varchar(24),created date)");
  298. } else echo ("ERROR Connection");
  299. echo $db->ErrorMsg();
  300. }
  301. $server = 'localhost';
  302. ADOLoadCode("mssqlpo");
  303. if (false && !empty($testmssql)) { // MS SQL Server -- the extension is buggy -- probably better to use ODBC
  304. $db = ADONewConnection("mssqlpo");
  305. //$db->debug=1;
  306. print "<h1>Connecting $db->databaseType...</h1>";
  307. $ok = $db->Connect('','sa','natsoft','northwind');
  308. echo $db->ErrorMsg();
  309. if ($ok /*or $db->PConnect("mangrove", "sa", "natsoft", "ai")*/) {
  310. AutoDetect_MSSQL_Date_Order($db);
  311. // $db->Execute('drop table adoxyz');
  312. testdb($db,"create table ADOXYZ (id int, firstname char(24) null, lastname char(24) null,created datetime null)");
  313. } else print "ERROR: MSSQL test 2 requires a MS SQL 7 on a server='$server', userid='adodb', password='natsoft', database='ai'".'<BR>'.$db->ErrorMsg();
  314. }
  315. ADOLoadCode('odbc_mssql');
  316. if (!empty($testmssql)) { // MS SQL Server via ODBC
  317. $db = ADONewConnection();
  318. print "<h1>Connecting $db->databaseType...</h1>";
  319. $dsn = "PROVIDER=MSDASQL;Driver={SQL Server};Server=$server;Database=northwind;";
  320. $dsn = 'condor';
  321. if ($db->PConnect($dsn, "sa", "natsoft", "")) {
  322. testdb($db,"create table ADOXYZ (id int, firstname char(24) null, lastname char(24) null,created datetime null)");
  323. }
  324. else print "ERROR: MSSQL test 1 requires a MS SQL 7 server setup with DSN setup";
  325. }
  326. ADOLoadCode("ado_mssql");
  327. if (!empty($testmssql) && !empty($testado) ) { // ADO ACCESS MSSQL -- thru ODBC -- DSN-less
  328. $db = ADONewConnection("ado_mssql");
  329. //$db->debug=1;
  330. print "<h1>Connecting DSN-less $db->databaseType...</h1>";
  331. $myDSN="PROVIDER=MSDASQL;DRIVER={SQL Server};"
  332. . "SERVER=$server;DATABASE=NorthWind;UID=adodb;PWD=natsoft;Trusted_Connection=No";
  333. if ($db->PConnect($myDSN, "", "", ""))
  334. testdb($db,"create table ADOXYZ (id int, firstname char(24) null, lastname char(24) null,created datetime null)");
  335. else print "ERROR: MSSQL test 2 requires MS SQL 7";
  336. }
  337. if (!empty($testmssql) && !empty($testado)) { // ADO ACCESS MSSQL with OLEDB provider
  338. $db = ADONewConnection("ado_mssql");
  339. print "<h1>Connecting DSN-less OLEDB Provider $db->databaseType...</h1>";
  340. //$db->debug=1;
  341. $myDSN="SERVER=localhost;DATABASE=northwind;Trusted_Connection=yes";
  342. if ($db->PConnect($myDSN, "adodb", "natsoft", 'SQLOLEDB')) {
  343. testdb($db,"create table ADOXYZ (id int, firstname char(24), lastname char(24),created datetime)");
  344. } else print "ERROR: MSSQL test 2 requires a MS SQL 7 on a server='mangrove', userid='sa', password='', database='ai'";
  345. }
  346. if (extension_loaded('odbtp') && !empty($testmssql)) { // MS SQL Server via ODBC
  347. $db = ADONewConnection('odbtp');
  348. $dsn = "PROVIDER=MSDASQL;Driver={SQL Server};Server=$server;Database=northwind;uid=adodb;pwd=natsoft";
  349. if ($db->PConnect('localhost',$dsn, "", "")) {
  350. print "<h1>Connecting $db->databaseType...</h1>";
  351. testdb($db,"create table ADOXYZ (id int, firstname char(24) null, lastname char(24) null,created datetime null)");
  352. }
  353. else print "ERROR: MSSQL test 1 requires a MS SQL 7 server setup with DSN setup";
  354. }
  355. print "<h3>Tests Completed</h3>";
  356. ?>