Date: 07/14/00
- Next message: Luca Perugini: "[PHP-DOC] cvs: phpdoc /it/functions session.xml"
- Previous message: Luca Perugini: "[PHP-DOC] cvs: phpdoc /it/functions image.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
perugini Fri Jul 14 11:14:14 2000 EDT
Modified files:
/phpdoc/it/functions ldap.xml
Log:
Updated from english tree.
Index: phpdoc/it/functions/ldap.xml
diff -u phpdoc/it/functions/ldap.xml:1.3 phpdoc/it/functions/ldap.xml:1.4
--- phpdoc/it/functions/ldap.xml:1.3 Sat Jun 24 00:38:44 2000
+++ phpdoc/it/functions/ldap.xml Fri Jul 14 11:14:14 2000
@@ -92,7 +92,7 @@
$info = ldap_get_entries($ds, $sr);
echo "Data for ".$info["count"]." items returned:<p>";
- for ($i=0; $i<$info["count"]; $i++) {
+ for ($i=0; $i<$info["count"]; $i++) {
echo "dn is: ". $info[$i]["dn"] ."<br>";
echo "first cn entry is: ". $info[$i]["cn"][0] ."<br>";
echo "first email entry is: ". $info[$i]["mail"][0] ."<p>";
@@ -668,7 +668,7 @@
echo $attrs["count"]." attributes held for this entry:<p>";
-for ($i=0; $i<$attrs["count"]; $i++)
+for ($i=0; $i<$attrs["count"]; $i++)
echo $attrs[$i]."<br>";
</programlisting>
</example></para>
@@ -859,6 +859,11 @@
This function is used exactly like
<function>ldap_get_values</function> except that it handles
binary data and not string data.</para>
+ <note>
+ <para>
+ This function was added in 4.0.
+ </para>
+ </note>
</refsect1>
</refentry>
@@ -908,7 +913,7 @@
$info = ldap_get_entries($ds, $sr);
-for ($i=0; $i<$info["count"]; $i++)
+for ($i=0; $i<$info["count"]; $i++)
echo $info[$i]["ou"][0] ;
</programlisting>
</example></para>
@@ -1173,7 +1178,7 @@
<title>Enumerating all LDAP error messages</title>
<programlisting role="php">
<?php
- for($i=0; $i<100; $i++) {
+ for($i=0; $i<100; $i++) {
printf("Error $i: %s<br>\n", ldap_str2err($i));
}
?>
- Next message: Luca Perugini: "[PHP-DOC] cvs: phpdoc /it/functions session.xml"
- Previous message: Luca Perugini: "[PHP-DOC] cvs: phpdoc /it/functions image.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

