CVS update: php3/doc/functions
| From: | sas | Date: | Thu, 18 Mar 1999 20:04:54 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4683@lists.php.net to get a copy of this message | ||
Date: Thursday March 18, 1999 @ 15:04
Author: sas
Update of /repository/php3/doc/functions
In directory asf:/u/temp/cvs-serv29614
Modified Files:
ldap.sgml
Log Message:
remove obsolete comment
Index: php3/doc/functions/ldap.sgml
diff -c php3/doc/functions/ldap.sgml:1.30 php3/doc/functions/ldap.sgml:1.31
*** php3/doc/functions/ldap.sgml:1.30 Mon Mar 8 11:56:42 1999
--- php3/doc/functions/ldap.sgml Thu Mar 18 15:04:52 1999
***************
*** 1032,1061 ****
</programlisting>
</example>
- <para>
-
- When you perform a search, and too much data comes back (alot of
- entries) you will get a warning, and
- <function>ldap_get_entries</function> will fail. The trick here
- is to turn off the warnings, then check the return value.
-
- <informalexample>
- <literallayout>
- $normerr = error_reporting ();
- error_reporting (0); // turn off warnings!
- $sr = ldap_search ($ds, $dn, $searchfor);
- $normerr = error_reporting ($normerr);
- if (!$sr) {
- print "too many entries!";
- } else .....
- </literallayout>
- </informalexample>
-
- <para>
- You could try narrowing the scope, by adding an extra filter
- eg. (cn=a*), but It would be nicer to be able to grab the
- results in bits (eg. 1-100, 101-200...).
-
</refsect1>
</refentry>
--- 1032,1037 ----
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net