mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
18 lines
292 B
PHP
18 lines
292 B
PHP
<?php
|
|
|
|
require("details.inc");
|
|
|
|
if (!empty($dbase)) {
|
|
$c = @oci_connect($user, $password, $dbase);
|
|
}
|
|
else {
|
|
$c = @oci_connect($user, $password);
|
|
}
|
|
|
|
if (!$c) {
|
|
echo "connect.inc: Failed to connect as '$user' to '$dbase'\n";
|
|
$e = oci_error();
|
|
echo $e['message']."\n";
|
|
}
|
|
|
|
?>
|