Applying offset and limit in LDAP search


I am searching Active Directory and the result limit is set to 1000 but the result set is more that 1000 so it give me limit exceeds error. Is there a way I can apply some limit or offset sort of thing in it as we do in relational databases. I am working in PHP.

Shahzad Fateh AliWeb Solutions Architect & Technical Project Manager- VentureDive (Pvt) LtdAsked:
Who is Participating?
merowingerConnect With a Mentor Commented:
PHP does not support to customize the page result limits.
So either you change the AD limits, or you have to use another method like VB.
See here:
Shahzad Fateh AliWeb Solutions Architect & Technical Project Manager- VentureDive (Pvt) LtdAuthor Commented:
I am not allowed to change the limit due to security issues. also the number of records in total are in millions and it can happen that some time i need to retrieve all of them
Chris DentConnect With a Mentor PowerShell DeveloperCommented:

Because I was so surprised paging wasn't implemented in PHP...

This discusses the issue and a work-around:

All Courses

From novice to tech pro — start learning today.