Description
resource
aspseek_pconnect ( [string server])
Returns a positive ASPseek persistent link identifier on success,
or FALSE on error.
aspseek_pconnect() establishes a connection
to an ASPseek searchd server. The following defaults are assumed for
missing optional parameter: server =
'localhost:12345'.
The server parameter can also include a port
number. eg. "hostname:port".
Example 1. ASPseek connect example <?php
$link = aspseek_pconnect("localhost")
or die("Could not connect: " . aspseek_error());
print ("Connected successfully");
aspseek_close($link);
?> |
|
|
Persistent connections are not currently implemented. Calls to
aspseek_pconnect() are functionally identical
to aspseek_connect(). Use of
aspseek_pconnect() is discouraged.
|
See also: aspseek_connect() and
aspseek_close().