note 111590 added to function.ldap-control-paged-result

From: Date: Wed, 06 Mar 2013 17:44:55 +0000
Subject: note 111590 added to function.ldap-control-paged-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-193963@lists.php.net to get a copy of this message
You may need to do an ldap_bind before running ldap_control_paged_result to get this to work: $conn = ldap_connect("you_ip"); ldap_set_option($conn, LDAP_OPT_PROTOCOL_VERSION, 3); ldap_bind("your_connection_info"); ldap_control_paged_result($conn, $pageSize, true, $cookie) Without doing an ldap_bind, I kept getting the error "Critical extension is unavailable". I don't if this is standard knowledge, but knowing this would have saved me days of frustration. ---- Server IP: 69.147.83.199 Probable Submitter: 74.92.208.177 ---- Manual Page -- http://php.net/manual/en/function.ldap-control-paged-result.php Edit -- https://master.php.net/note/edit/111590 Del: integrated -- https://master.php.net/note/delete/111590/integrated Del: useless -- https://master.php.net/note/delete/111590/useless Del: bad code -- https://master.php.net/note/delete/111590/bad+code Del: spam -- https://master.php.net/note/delete/111590/spam Del: non-english -- https://master.php.net/note/delete/111590/non-english Del: in docs -- https://master.php.net/note/delete/111590/in+docs Del: other reasons-- https://master.php.net/note/delete/111590 Reject -- https://master.php.net/note/reject/111590 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193963) next »