Get random entries from Ldap server ..

Hi, I'm interesting to get random entries from ldap server ...
but any of ldap_ fuctions do this ...

I need something like this:

SELECT * FROM table ORDER BY RAND() LIMIT 10;

I'm thinking to work with the resource id

$resource=ldap_search($conexion_ldap, $dn, $filtro, $solonecesito);

maybe I need implement a new function: ldap_get_randentries($conexion_ldap, 
$resource,

$count), but first I want to know what you think ..

Best regards, Elier 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to