Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ds=ldap_connect("ldap-example.com");
- if ($ds) {
- $r=ldap_bind($ds);
- $sr=ldap_search($ds, "DC=tpcontact,DC=co,DC=uk",$search);
- $info = ldap_get_entries($ds, $sr)or die('get info fail');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement