redis_connect()#
Syntax
redis_connect( ip, port, conn_id var )
Returns#
Returns 1 on success, 0 on failure
Parameters#
Parameter | Description |
---|---|
ip / hostname |
The IP address or hostname of the server Redis is on |
port |
The port number to connect on |
conn_id |
An output value containing an reference ID which is associated to the internal Redis connection. |