|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Submitted: 2001-02-20 03:39 UTC Modified: 2001-04-01 14:05 UTC
From: erics at sina dot com Assigned: venaas (profile)
Status: Closed Package: LDAP related
PHP Version: 4.0.3pl1 OS: Linux RedHat6.2
Private report: No CVE-ID: None
 [2001-02-20 03:39 UTC] erics at sina dot com
I use PHP to connect ldap service for searching and modifing information. For search a entry, i use this:
$filter="(date >= 20010116)";
then use ldap_search($ld,$dn,$filter);
but seems the function can't work.
surprisingly, if i use 
$filter="(date = 20010116)";  //change '>=' to '='
it works.
so, can anyone tell me what's the wrong with it?
thanks a lot.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-20 04:38 UTC]
I think the problem might be that the LDAP server doesn't
support it. Please try searching with ldapsearch command
line utility and see if that works. What LDAP libraries
and server are you using?

 [2001-04-01 14:05 UTC]
No feedback.


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 16:01:29 2024 UTC