fbsql_pconnect(3) php man page | unix.com

Query: fbsql_pconnect

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FBSQL_PCONNECT(3)							 1							 FBSQL_PCONNECT(3)

fbsql_pconnect - Open a persistent connection to a FrontBase Server

SYNOPSIS
resource fbsql_pconnect ([string $hostname = ini_get("fbsql.default_host")], [string $username = ini_get("fbsql.default_user")], [string $password = ini_get("fbsql.default_password")])
DESCRIPTION
Establishes a persistent connection to a FrontBase server. To set the server port number, use fbsql_select_db(3). fbsql_pconnect(3) acts very much like fbsql_connect(3) with two major differences: First, when connecting, the function would first try to find a (persistent) link that's already open with the same host, username and password. If one is found, an identifier for it will be returned instead of opening a new connection. Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for future use. This type of links is therefore called 'persistent'.
PARAMETERS
o $hostname - The server host name. o $username - The user name for the connection. o $password - The password for the connection.
RETURN VALUES
Returns a positive FrontBase persistent link identifier on success, or FALSE on error.
SEE ALSO
fbsql_connect(3). PHP Documentation Group FBSQL_PCONNECT(3)
Related Man Pages
ibase_pconnect(3) - php
mssql_pconnect(3) - php
fbsql_close(3) - php
fbsql_list_dbs(3) - php
msql_pconnect(3) - php
Similar Topics in the Unix Linux Community
how can obtain other user commands on the same server.
"421 service not available, remote server has closed connection."?
Calling DB user from separate file in Shell script
Unable to add persistent IP
How to find Hung connection in UNix Systems ?