Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pfsockopen(3) [php man page]

PFSOCKOPEN(3)								 1							     PFSOCKOPEN(3)

pfsockopen - Open persistent Internet or Unix domain socket connection

SYNOPSIS
resource pfsockopen (string $hostname, [int $port = -1], [int &$errno], [string &$errstr], [float $timeout = ini_get("default_socket_timeout")]) DESCRIPTION
This function behaves exactly as fsockopen(3) with the difference that the connection is not closed after the script finishes. It is the persistent version of fsockopen(3). PARAMETERS
For parameter information, see the fsockopen(3) documentation. SEE ALSO
fsockopen(3). PHP Documentation Group PFSOCKOPEN(3)

Check Out this Related Man Page

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)
Man Page