add PHP script to recursively query an LDAP server