downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/function.ldap-get-values-len.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/ref.ldap.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'function.ldap-get-values-len.php',
   
1 => 'ldap_get_values_len',
  ),
 
'up' =>
  array (
   
0 => 'ref.ldap.php',
   
1 => 'LDAP Functions',
  ),
 
'prev' =>
  array (
   
0 => 'function.ldap-get-option.php',
   
1 => 'ldap_get_option',
  ),
 
'next' =>
  array (
   
0 => 'function.ldap-get-values.php',
   
1 => 'ldap_get_values',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="function.ldap-get-values-len" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ldap_get_values_len</h1>
  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">ldap_get_values_len</span> &mdash; <span class="dc-title">Get all binary values from a result entry</span></p>

 </div>
 
 <a name="function.ldap-get-values-len.description"></a><div class="refsect1 description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">array</span> <span class="methodname"><b>ldap_get_values_len</b></span>
    ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$link_identifier</tt></span>
   , <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$result_entry_identifier</tt></span>
   , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$attribute</tt></span>
   )</div>

  <p class="para rdfs-comment">
   Reads all the values of the attribute in the entry in the result.
  </p>
  <p class="para">
   This function is used exactly like <a href="function.ldap-get-values.php" class="function">ldap_get_values()</a>
   except that it handles binary data and not string data.
  </p>
 </div>


 <a name="function.ldap-get-values-len.parameters"></a><div class="refsect1 parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   </p><dl>

    <dt class="varlistentry">

     <span class="term"><i><tt class="parameter">link_identifier</tt></i>
</span>

     </dt><dd class="listitem">

      <p class="para">
       An LDAP link identifier, returned by <a href="function.ldap-connect.php" class="function">ldap_connect()</a>.
      </p>
     </dd>

   
    <dt class="varlistentry">

     <span class="term"><i><tt class="parameter">result_entry_identifier</tt></i>
</span>

     </dt><dd class="listitem">

      <p class="para">
      </p>
     </dd>

   
    <dt class="varlistentry">

     <span class="term"><i><tt class="parameter">attribute</tt></i>
</span>

     </dt><dd class="listitem">

      <p class="para">
      </p>
     </dd>

   
   </dl>
<p>
  </p>
 </div>


 <a name="function.ldap-get-values-len.returnvalues"></a><div class="refsect1 returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns an array of values for the attribute on success and <b><tt class="constant">FALSE</tt></b> on
   error. Individual values are accessed by integer index in the array. The
   first index is 0. The number of values can be found by indexing &quot;count&quot;
   in the resultant array.
  </p>
 </div>


 <a name="function.ldap-get-values-len.seealso"></a><div class="refsect1 seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   </p><ul class="simplelist">
    <li class="member"><a href="function.ldap-get-values.php" class="function" rel="rdfs-seeAlso">ldap_get_values()</a> - Get all values from a result entry</li>
   </ul><p>
  </p>
 </div>


</div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites