update : 2015.11.03
php.shukuma.com검색:
|
oci_pconnect(PHP 5, PECL OCI8 >= 1.1.0) oci_pconnect — Connect to an Oracle database using a persistent connection 설명
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. 인수
반환값
Returns a connection identifier or 예제
Example #1 Basic oci_pconnect() Example using Easy Connect syntax
<?php See oci_connect() for further examples of parameter usage. 주의
참고
|