connect.inc 302 B

1234567891011121314151617
  1. <?php
  2. require("details.inc");
  3. if (!empty($dbase)) {
  4. $c = @oci_connect($user, $password, $dbase);
  5. }
  6. else {
  7. $c = @oci_connect($user, $password);
  8. }
  9. if (!$c) {
  10. $m = oci_error();
  11. trigger_error("connect.inc: Failed to connect as '$user' to '$dbase': ". $m['message'], E_USER_ERROR);
  12. }
  13. ?>