Back to index

php5  5.3.10
connect.inc
Go to the documentation of this file.
00001 <?php
00002 
00003 require("details.inc");
00004 
00005 if (!empty($dbase)) {
00006     $c = @oci_connect($user, $password, $dbase);
00007 }
00008 else {
00009     $c = @oci_connect($user, $password);
00010 }
00011 
00012 if (!$c) {
00013     $m = oci_error();
00014     trigger_error("connect.inc: Failed to connect as '$user' to '$dbase': ". $m['message'], E_USER_ERROR);
00015 }
00016 
00017 ?>