yaz_connect

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0)
Prepares for a connection to a Z39.50 server
mixed yaz_connect ( string $zurl [, mixed $options ] )

This function returns a connection resource on success, zero on failure.

yaz_connect() prepares for a connection to a Z39.50 server. This function is non-blocking and does not attempt to establish a connection - it merely prepares a connect to be performed later when yaz_wait() is called.

Note:

The ยป YAZ proxy is a freely available Z39.50 proxy.

Parameters:
zurl

A string that takes the form host[:port][/database]. If port is omitted, port 210 is used. If database is omitted Default is used.

options

If given as a string, it is treated as the Z39.50 V2 authentication string (OpenAuth).

If given as an array, the contents of the array serves as options.

Returns:

A connection resource on success, FALSE on error.

Changelog:
4.1.0

The parameter options was added.

See also:

yaz_close() -

doc_php
2016-02-24 16:10:26
Comments
Leave a Comment

Please login to continue.