CINXE.COM

PHP: YAZ Functions - Manual

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://purl.org/NET/erdf/profile"><script type="text/javascript" src="https://web-static.archive.org/_static/js/bundle-playback.js?v=7YQSqjSh" charset="utf-8"></script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("http://www.php.net:80/manual/en/ref.yaz.php","20081110122928","https://web.archive.org/","web","https://web-static.archive.org/_static/", "1226320168"); </script> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/banner-styles.css?v=p7PEIJWi" /> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <title>PHP: YAZ Functions - Manual</title> <style type="text/css" media="all"> @import url("https://web.archive.org/web/20081110122928cs_/http://static.php.net/www.php.net/styles/site.css"); @import url("https://web.archive.org/web/20081110122928cs_/http://static.php.net/www.php.net/styles/phpnet.css"); </style> <!--[if IE]><![if gte IE 6]><![endif]--> <style type="text/css" media="print"> @import url("https://web.archive.org/web/20081110122928cs_/http://static.php.net/www.php.net/styles/print.css"); </style> <!--[if IE]><![endif]><![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link rel="shortcut icon" href="https://web.archive.org/web/20081110122928im_/http://static.php.net/www.php.net/favicon.ico"/> <link rel="contents" href="index.php"/> <link rel="index" href="book.yaz.php"/> <link rel="prev" href="book.yaz.php"/> <link rel="next" href="function.yaz-addinfo.php"/> <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/"/> <link rel="schema.rdfs" href="http://www.w3.org/2000/01/rdf-schema#"/> <script type="text/javascript" src="https://web.archive.org/web/20081110122928js_/http://static.php.net/www.php.net/userprefs.js"></script> <base href="https://web.archive.org/web/20081110122928/http://www.php.net/manual/en/ref.yaz.php"/> </head> <body> <div id="headnav"> <a href="/web/20081110122928/http://www.php.net/" rel="home"><img src="https://web.archive.org/web/20081110122928im_/http://static.php.net/www.php.net/images/php.gif" alt="PHP" width="120" height="67"/></a> <div id="headmenu"> <a href="/web/20081110122928/http://www.php.net/downloads.php">downloads</a> | <a href="/web/20081110122928/http://www.php.net/docs.php">documentation</a> | <a href="/web/20081110122928/http://www.php.net/FAQ.php">faq</a> | <a href="/web/20081110122928/http://www.php.net/support.php">getting help</a> | <a href="/web/20081110122928/http://www.php.net/mailing-lists.php">mailing lists</a> | <a href="https://web.archive.org/web/20081110122928/http://bugs.php.net/">reporting bugs</a> | <a href="/web/20081110122928/http://www.php.net/sites.php">php.net sites</a> | <a href="/web/20081110122928/http://www.php.net/links.php">links</a> | <a href="/web/20081110122928/http://www.php.net/conferences/">conferences</a> | <a href="/web/20081110122928/http://www.php.net/my.php">my php.net</a> </div> </div> <div id="headsearch"> <form method="post" action="/web/20081110122928/http://www.php.net/search.php" id="topsearch"> <p> <span title="Keyboard shortcut: Alt+S (Win), Ctrl+S (Apple)"> <span class="shortkey">s</span>earch for </span> <input type="text" name="pattern" value="" size="30" accesskey="s"/> <span>in the</span> <select name="show"> <option value="quickref" selected="selected">function list</option> <option value="all">all php.net sites</option> <option value="local">this mirror only</option> <option value="manual">online documentation</option> <option value="bugdb">bug database</option> <option value="news_archive">Site News Archive</option> <option value="changelogs">All Changelogs</option> <option value="pear">just pear.php.net</option> <option value="pecl">just pecl.php.net</option> <option value="talks">just talks.php.net</option> <option value="maillist">general mailing list</option> <option value="devlist">developer mailing list</option> <option value="phpdoc">documentation mailing list</option> </select> <input type="image" src="https://web.archive.org/web/20081110122928im_/http://static.php.net/www.php.net/images/small_submit_white.gif" class="submit" alt="search"/> <input type="hidden" name="lang" value="en"/> </p> </form> </div> <div id="layout_2"> <div id="leftbar"> <!--UdmComment--> <ul class="toc"> <li class="header home"><a href="index.php">PHP Manual</a></li> <li class="header up"><a href="funcref.php">Function Reference</a></li> <li class="header up"><a href="refs.remote.other.php">Other Services</a></li> <li class="header up"><a href="book.yaz.php">YAZ</a></li> <li><a href="intro.yaz.php">Introduction</a></li> <li><a href="yaz.setup.php">Installing/Configuring</a></li> <li><a href="yaz.constants.php">Predefined Constants</a></li> <li><a href="yaz.examples.php">Examples</a></li> <li class="active"><a href="ref.yaz.php">YAZ Functions</a></li> </ul><!--/UdmComment--> </div> <div id="content" class="manual/en"> <!--UdmComment--> <div class="manualnavbar manualnavbar_top"> <span class="next"> <a href="function.yaz-addinfo.php">yaz_addinfo<img src="https://web.archive.org/web/20081110122928im_/http://static.php.net/www.php.net/images/caret-r.gif" alt=">" width="11" height="7"/></a> </span> <span class="prev"> <a href="book.yaz.php"><img src="https://web.archive.org/web/20081110122928im_/http://static.php.net/www.php.net/images/caret-l.gif" alt="<" width="11" height="7"/>YAZ</a> </span> <hr/> <span class="lastupdated">Last updated: Fri, 07 Nov 2008</span> <div class="langchooser"> <form action="/web/20081110122928/http://www.php.net/manual/change.php" method="get"> <p>view this page in </p><fieldset><select name="page"> <option value="bg/ref.yaz.php">Bulgarian</option> <option value="pt_BR/ref.yaz.php">Brazilian Portuguese</option> <option value="fr/ref.yaz.php">French</option> <option value="de/ref.yaz.php">German</option> <option value="it/ref.yaz.php">Italian</option> <option value="ja/ref.yaz.php">Japanese</option> <option value="pl/ref.yaz.php">Polish</option> <option value="ro/ref.yaz.php">Romanian</option> <option value="ru/ref.yaz.php">Russian</option> <option value="es/ref.yaz.php">Spanish</option> <option value="help-translate.php">Other</option> </select> <input type="image" src="https://web.archive.org/web/20081110122928im_/http://static.php.net/www.php.net/images/small_submit.gif" id="changeLangImage" alt=""/> </fieldset></form> </div> </div> <!--/UdmComment--> <div> <h1 class="title">YAZ Functions</h1> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.yaz-addinfo.php">yaz_addinfo</a> — Returns additional error information</li><li><a href="function.yaz-ccl-conf.php">yaz_ccl_conf</a> — Configure CCL parser</li><li><a href="function.yaz-ccl-parse.php">yaz_ccl_parse</a> — Invoke CCL Parser</li><li><a href="function.yaz-close.php">yaz_close</a> — Close YAZ connection</li><li><a href="function.yaz-connect.php">yaz_connect</a> — Prepares for a connection to a Z39.50 server</li><li><a href="function.yaz-database.php">yaz_database</a> — Specifies the databases within a session</li><li><a href="function.yaz-element.php">yaz_element</a> — Specifies Element-Set Name for retrieval</li><li><a href="function.yaz-errno.php">yaz_errno</a> — Returns error number</li><li><a href="function.yaz-error.php">yaz_error</a> — Returns error description</li><li><a href="function.yaz-es-result.php">yaz_es_result</a> — Inspects Extended Services Result</li><li><a href="function.yaz-es.php">yaz_es</a> — Prepares for an Extended Service Request</li><li><a href="function.yaz-get-option.php">yaz_get_option</a> — Returns value of option for connection</li><li><a href="function.yaz-hits.php">yaz_hits</a> — Returns number of hits for last search</li><li><a href="function.yaz-itemorder.php">yaz_itemorder</a> — Prepares for Z39.50 Item Order with an ILL-Request package</li><li><a href="function.yaz-present.php">yaz_present</a> — Prepares for retrieval (Z39.50 present)</li><li><a href="function.yaz-range.php">yaz_range</a> — Specifies a range of records to retrieve</li><li><a href="function.yaz-record.php">yaz_record</a> — Returns a record</li><li><a href="function.yaz-scan-result.php">yaz_scan_result</a> — Returns Scan Response result</li><li><a href="function.yaz-scan.php">yaz_scan</a> — Prepares for a scan</li><li><a href="function.yaz-schema.php">yaz_schema</a> — Specifies schema for retrieval</li><li><a href="function.yaz-search.php">yaz_search</a> — Prepares for a search</li><li><a href="function.yaz-set-option.php">yaz_set_option</a> — Sets one or more options for connection</li><li><a href="function.yaz-sort.php">yaz_sort</a> — Sets sorting criteria</li><li><a href="function.yaz-syntax.php">yaz_syntax</a> — Specifies the preferred record syntax for retrieval</li><li><a href="function.yaz-wait.php">yaz_wait</a> — Wait for Z39.50 requests to complete</li></ul> </div> <br/><br/> <div id="usernotes"> <div class="head"> <span class="action"><a href="/web/20081110122928/http://www.php.net/manual/add-note.php?sect=ref.yaz&amp;redirect=http://www.php.net/manual/en/ref.yaz.php"><img src="https://web.archive.org/web/20081110122928im_/http://static.php.net/www.php.net/images/notes-add.gif" alt="add a note" width="13" height="13" align="middle"/></a> <small><a href="/web/20081110122928/http://www.php.net/manual/add-note.php?sect=ref.yaz&amp;redirect=http://www.php.net/manual/en/ref.yaz.php">add a note</a></small></span> <small>User Contributed Notes</small><br/> <strong>YAZ Functions</strong> </div> <a name="58085"></a> <div class="note"> <a href="#58085">23-Oct-2005 03:00</a> <div class="text"> <div class="phpcode"><code><span class="html"> Straightforward Steps to get PHP Yaz to work on win32:<br/> <br/> Download latest verion of php_yaz.dll and copy to your PHP extensions directory<br/> <a href="https://web.archive.org/web/20081110122928/http://ftp.indexdata.dk/pub/phpyaz/" rel="nofollow" target="_blank">http://ftp.indexdata.dk/pub/phpyaz/</a><br/> <br/> Download latest version of YAZ toolkit and install it<br/> <a href="https://web.archive.org/web/20081110122928/http://www.indexdata.dk/yaz/" rel="nofollow" target="_blank">http://www.indexdata.dk/yaz/</a><br/> <br/> Go to the YAZ toolkit directory<br/> (Most likely C:\Program Files\YAZ\bin)<br/> <br/> Copy the 4 DLL files in that folder into your win32 directory<br/> <br/> Uncomment the "extention=php_yaz.dll;" line in php.ini<br/> <br/> Restart your web server.<br/> <br/> Uninstall the YAZ toolkit if you wish.</span> </code></div> </div> </div> <a name="44139"></a> <div class="note"> <strong>cstdenis at hotmail dot com</strong><br/> <a href="#44139">15-Jul-2004 06:17</a> <div class="text"> <div class="phpcode"><code><span class="html"> For those wondering what it is:<br/> <br/> "This standard defines a client/server based service and protocol for<br/> Information Retrieval. It specifies procedures and formats for a client to search a<br/> database provided by a server, retrieve database records, and perform related<br/> information retrieval functions. The protocol addresses communication between<br/> information retrieval applications at the client and server; it does not address interaction<br/> between the client and the end-user."</span> </code></div> </div> </div> <div class="foot"><a href="/web/20081110122928/http://www.php.net/manual/add-note.php?sect=ref.yaz&amp;redirect=http://www.php.net/manual/en/ref.yaz.php"><img src="https://web.archive.org/web/20081110122928im_/http://static.php.net/www.php.net/images/notes-add.gif" alt="add a note" width="13" height="13" align="middle"/></a> <small><a href="/web/20081110122928/http://www.php.net/manual/add-note.php?sect=ref.yaz&amp;redirect=http://www.php.net/manual/en/ref.yaz.php">add a note</a></small></div> </div><br/><!--UdmComment--> <div class="manualnavbar manualnavbar_bottom"> <span class="next"> <a href="function.yaz-addinfo.php">yaz_addinfo<img src="https://web.archive.org/web/20081110122928im_/http://static.php.net/www.php.net/images/caret-r.gif" alt=">" width="11" height="7"/></a> </span> <span class="prev"> <a href="book.yaz.php"><img src="https://web.archive.org/web/20081110122928im_/http://static.php.net/www.php.net/images/caret-l.gif" alt="<" width="11" height="7"/>YAZ</a> </span> <hr/> <span class="lastupdated">Last updated: Fri, 07 Nov 2008</span> <div class="langchooser"> &nbsp; </div> </div> <!--/UdmComment--> </div> <div class="cleaner">&nbsp;</div> </div> <div id="footnav"> <a href="/web/20081110122928/http://www.php.net/source.php?url=/manual/en/ref.yaz.php">show source</a> | <a href="/web/20081110122928/http://www.php.net/credits.php">credits</a> | <a href="/web/20081110122928/http://www.php.net/stats/">stats</a> | <a href="/web/20081110122928/http://www.php.net/sitemap.php">sitemap</a> | <a href="/web/20081110122928/http://www.php.net/contact.php">contact</a> | <a href="/web/20081110122928/http://www.php.net/contact.php#ads">advertising</a> | <a href="/web/20081110122928/http://www.php.net/mirrors.php">mirror sites</a> </div> <div id="pagefooter"> <div id="copyright"> <a href="/web/20081110122928/http://www.php.net/copyright.php">Copyright &copy; 2001-2008 The PHP Group</a><br/> All rights reserved. </div> <div id="thismirror"> <a href="/web/20081110122928/http://www.php.net/mirror.php">This mirror</a> generously provided by: <a href="https://web.archive.org/web/20081110122928/http://developer.yahoo.com/">Yahoo! Inc.</a><br/> Last updated: Mon Nov 10 04:45:30 2008 PST </div> </div> </body> </html><!-- FILE ARCHIVED ON 12:29:28 Nov 10, 2008 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 22:33:18 Mar 02, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.744 exclusion.robots: 0.034 exclusion.robots.policy: 0.02 esindex: 0.012 cdx.remote: 26.23 LoadShardBlock: 843.862 (6) PetaboxLoader3.datanode: 474.641 (7) PetaboxLoader3.resolve: 343.246 (2) load_resource: 351.145 -->

Pages: 1 2 3 4 5 6 7 8 9 10