LDAP and DB Question

From: Date: Fri, 23 Jan 2004 19:17:13 +0000
Subject: LDAP and DB Question
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10338@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have figured out how to create a simple query using the ldap3 tools, but am not sure how to do this: I want to create an LDAP filter that uses two fields, sn and fn. The filter would look like: (&(sn=Smith)(fn=John)). However, when this query is sent to PEAR::DB, the query gets processed by the prepare function, which looks for the tokens '&', '!', and '?'. I need the ampersand to get passed to the LDAP processor. Otherwise, the query doesn't work. Any suggestions? - -- James 'Chip' Kaufman jkaufman@wamnetgov.com 952-346-3532 PGP key: 697D43DE -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAEXM5rlGDUWl9Q94RAghjAKCEpp0v+Pi2b1cUAOIRVSKJZCsibwCfSgkT EYdhf4tN12mK5OSMe4cjip0= =xyJV -----END PGP SIGNATURE-----

« previous php.pear.general (#10338) next »