dap_search() sizelimit

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rcmn
Forum Newbie
Posts: 21
Joined: Tue Jul 06, 2004 10:35 am

dap_search() sizelimit

Post by rcmn »

i read the doc http://www.php.net/ldap_search. But i can't find ant exemple of how to use the "sizelimit" parameter...

Code: Select all

$lookupad= "cn=comp-*";
$sizelimite=????
$rs=ldap_search($ldap_conn,$user_dir,$lookupad,???sizelimite???)
nickk
Forum Newbie
Posts: 7
Joined: Sun Feb 12, 2006 9:56 am

Post by nickk »

Uhh... right from the documentation:
With the sixth parameter sizelimit it is possible to limit the count of entries fetched. Setting this to 0 means no limit. NOTE: This parameter can NOT override server-side preset sizelimit. You can set it lower though.
What isnt there to understand?
rcmn
Forum Newbie
Posts: 21
Joined: Tue Jul 06, 2004 10:35 am

Post by rcmn »

i know i read the doc.but it seems that i can't write properly.
so with the lines i gave u i want to set sizelimite to 0.I tried differente way but nothing work.
Can u write an exemple for me,Thx
Post Reply