Opens a persistent connection to Adaptive Server.
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
- $servername – the name of a server defined in the relevant Sybase directory service. Example, the
interfaces file.
- $username – the name of the user account used to login to Adaptive Server.
- $password – the password of the user account used to login to Adaptive
Server.
Returns
A positive connection identifier on success.
FALSE – on failure.