msql_pconnect()
msql_pconnect - Open persistent mSQL connection
Syntax
resource msql_pconnect (
string $hostname)
Arguments
- hostname - The hostname can also include a port number. e.g. hostname,port. If not specified, the connection is established by the means of a Unix domain socket, being more efficient than a localhost TCP socket connection. Note: While this function will accept a colon ( :) as a host/port separator, a comma (,) is the preferred method.
Description
msql_pconnect() acts very much like msql_connect() with two major differences.
Version
PHP 4, 5
Return value
Returns a positive mSQL link identifier on success, or FALSE on error.