sybase_pconnect

Opens a persistent connection to Adaptive Server.

sybase_pconnect() supports DSN style connection properties. When it is called with the parameter servername only, servername is expected to contain a valid DSN string.
Note: If a persistent connection has been previously opened with the same arguments as this call, an identifier for the existing connection gets returned instead of opening a new connection.

Syntax

resource sybase_pconnect([string $servername
[, string $username
[, string $password
]]] )

Parameters

Returns

A positive connection identifier on success.

FALSE – on failure.