mirror of
https://github.com/php/php-src.git
synced 2024-11-29 21:04:10 +08:00
40 lines
592 B
PHP
40 lines
592 B
PHP
<?php
|
|
|
|
/*
|
|
* Please, change user, password and dbase to match your configuration.
|
|
*
|
|
* */
|
|
|
|
$user = "user";
|
|
$password = "pass";
|
|
$dbase = "base";
|
|
|
|
/*
|
|
* You should have privileges to create tables in this schema
|
|
*
|
|
* */
|
|
|
|
$schema = "system";
|
|
|
|
/*
|
|
* Remove the last line in skipif.inc to run tests
|
|
*
|
|
* */
|
|
|
|
|
|
if (!empty($dbase)) {
|
|
$connection = ocilogon($user,$password,$dbase);
|
|
}
|
|
else {
|
|
$connection = ocilogon($user,$password);
|
|
}
|
|
|
|
if (!empty($schema)) {
|
|
$schema = $schema.".";
|
|
}
|
|
else {
|
|
$schema = '';
|
|
}
|
|
|
|
?>
|