1
0
mirror of https://github.com/php/php-src.git synced 2026-04-16 20:41:18 +02:00
Files
archived-php-src/ext/oci8/tests/connect.inc

18 lines
302 B
PHP

<?php
require("details.inc");
if (!empty($dbase)) {
$c = @oci_connect($user, $password, $dbase);
}
else {
$c = @oci_connect($user, $password);
}
if (!$c) {
$m = oci_error();
trigger_error("connect.inc: Failed to connect as '$user' to '$dbase': ". $m['message'], E_USER_ERROR);
}
?>