« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for ctrls (0.002 sec.)
LDAP コントロール | PHP 8.3 9414
LDAP コントロール PHP >= 7.3.0 で LDAPコントロールを使う例をいくつか示します。 例1 policy(パスワードポリシー) 情報とバインドする <?php $user = 'cn=admin,dc=example,dc=com' ; $passwd = 'adminpassword' ; $ds = ldap_connect ( 'ldap://localhost ... DAP_CONTROL_PASSWORDPOLICYREQUEST ]]); if ( ldap_parse_result ( $ds , $r , $errcode , $matcheddn , $errmsg , $referrals , $ctrls )) { if ( $errcode != 0 ) { die( "Error: $errmsg ( $errcode )" ); } if (isset( $ctrls [ LDAP_CONTROL_PASSWORDPOLICYRESPONS ... E ])) { $value = $ctrls [ LDAP_CONTROL_PASSWORDPOLICYRESPONSE ][ 'value' ]; echo "Expires in: " . $value [ 'expire' ]. " seconds\n" ; echo "Number ...
https://man.mtool.work/php/8.3/ldap.examples-controls.html
PREV 1 NEXT