update : 2015.11.03
php.shukuma.com검색:
|
maxdb_real_connectmaxdb::real_connect(PECL maxdb >= 1.0) maxdb_real_connect -- maxdb::real_connect — Opens a connection to a MaxDB server 설명절차식 형식
bool maxdb_real_connect
( resource
$link
[, string $hostname
[, string $username
[, string $passwd
[, string $dbname
[, int $port = 0
[, string $socket
]]]]]] )객체 기반 형식
bool maxdb::real_connect
([ string
$hostname
[, string $username
[, string $passwd
[, string $dbname
[, int $port = 0
[, string $socket
]]]]]] )
maxdb_real_connect() attempts to establish a
connection to a MaxDB database engine running on
This function differs from maxdb_connect():
반환값
성공 시 예제Example #1 객체 기반 형식
<?php Example #2 절차식 형식
<?php 위 예제의 출력 예시: Connection: localhost <...> 참고
|