note 85356 added to function.ldap-search
| From: | beni@php.net | Date: | Wed, 27 Aug 2008 09:17:01 +0000 |
| Subject: | note 85356 added to function.ldap-search | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143860@lists.php.net to get a copy of this message | ||
Please note, that your example is not fully implementing filter escaping needs and is thus not safe
for every case (see RFC 2254).
Filter stuff is also available in pears Net_LDAP: http://pear.php.net/manual/en/package.networking.net-ldap.filter.php
With this class you can easily create nested filters without worrying for escaping issues (those are
handled by the class itnernally in a rfc compatible maner).
----
Server IP: 217.13.201.10
Probable Submitter: 78.47.217.76 (proxied: 78.47.217.76)
----
Manual Page -- http://www.php.net/manual/en/function.ldap-search.php
Edit -- https://master.php.net/note/edit/85356
Del: integrated -- https://master.php.net/note/delete/85356/integrated
Del: useless -- https://master.php.net/note/delete/85356/useless
Del: bad code -- https://master.php.net/note/delete/85356/bad+code
Del: spam -- https://master.php.net/note/delete/85356/spam
Del: non-english -- https://master.php.net/note/delete/85356/non-english
Del: in docs -- https://master.php.net/note/delete/85356/in+docs
Del: other reasons-- https://master.php.net/note/delete/85356
Reject -- https://master.php.net/note/reject/85356
Search -- https://master.php.net/manage/user-notes.php