PHP » GoLang |
login |
register |
about
|
oci_pconnect(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) oci_pconnect — Connect to an Oracle database using a persistent connection Description
resource oci_pconnect
( string
$username
, string $password
[, string $connection_string
[, string $character_set
[, int $session_mode
]]] )Creates a persistent connection to an Oracle server and logs on. Persistent connections are cached and re-used between requests, resulting in reduced overhead on each page load; a typical PHP application will have a single persistent connection open against an Oracle server per Apache child process (or PHP FastCGI/CGI process). See the Persistent Database Connections section for more information. Parameters
Return Values
Returns a connection identifier or Examples
Example #1 Basic oci_pconnect() Example using Easy Connect syntax
<?php See oci_connect() for further examples of parameter usage. Notes
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|