php-src/ext/oci8/tests/connect.inc
2003-12-19 17:03:12 +00:00

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 = '';
}
?>