note 88508 added to function.ldap-connect
| From: | peter dot burden at gmail dot com | Date: | Tue, 27 Jan 2009 12:40:15 +0000 |
| Subject: | note 88508 added to function.ldap-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-149837@lists.php.net to get a copy of this message | ||
The host name parameter can be a space separated list of host names. This means that the LDAP code
will talk to a backup server if the main server is not operational. There will be a delay while the
code times out trying to talk to the main server but things will still work. This is particularly
useful with a typical Microsoft Active Directory setup of primary and backup domain controllers.
<?php
$ldaphost = "192.168.0.100 192.168.0.101";
$ldapconn = ldap_connect($ldaphost);
?>
----
Server IP: 92.48.74.199
Probable Submitter: 87.194.19.132
----
Manual Page -- http://www.php.net/manual/en/function.ldap-connect.php
Edit -- https://master.php.net/note/edit/88508
Del: integrated -- https://master.php.net/note/delete/88508/integrated
Del: useless -- https://master.php.net/note/delete/88508/useless
Del: bad code -- https://master.php.net/note/delete/88508/bad+code
Del: spam -- https://master.php.net/note/delete/88508/spam
Del: non-english -- https://master.php.net/note/delete/88508/non-english
Del: in docs -- https://master.php.net/note/delete/88508/in+docs
Del: other reasons-- https://master.php.net/note/delete/88508
Reject -- https://master.php.net/note/reject/88508
Search -- https://master.php.net/manage/user-notes.php