ENV: RedHat6.0/i386/php4.03/apache1.3.14/openldap-2.07/
My Filter🙁&(startfrom<=12345)(endto>=12345))
then use ldap_search($connection,$dn,$Filter,$attibs)
all other variables are okay, and phplog says that : LDAP: Unable to perform the search: Bad search filter in ... or something like this.
Under Shell, I passed
$ ldapsearch -h localhost -p 8889 -b t=table,s=system,o=com,c=CA "(&(startfrom<=12345)(endto>=12345))" startfrom
and got the correct results....
WHY?