Results of 1 - 7 of about 7 for attrs (0.001 sec.)
- ldap_get_attributes — 検索結果エントリから属性を得る | PHP 8.3 12468
- ldap_get_attributes (PHP 4, PHP 5, PHP 7, PHP 8) ldap_get_attributes — 検索結果エントリから属性を得る 説明 function ldap_get_attributes ( LDAP\Connection $ldap , LDAP\ResultEntry $entry ): array 検索結果エントリから属性と値を読み込みます。
... nection のインスタンス // $sr は事前の LDAP のディレクトリ検索コールの有効な結果 $entry = ldap_first_entry ( $ds , $sr ); $attrs = ldap_get_attributes ( $ds , $entry ); echo $attrs [ "count" ] . " attributes held for this entry:<p>" ; for ( $i = 0 ; $ ... i < $attrs [ "count" ]; $i ++) { echo $attrs [ $i ] . "<br />" ; } ?> 参考 ldap_first_attribute() - 最初の属性を返す ldap_next_attrib ...
-
https://man.mtool.work/php/8.3/function.ldap-get-attributes.html
- ssh2_publickey_list — 現在認証済みの公開鍵の一覧を表示する | PHP 8.3 11232
- ssh2_publickey_list (PECL ssh2 >= 0.10) ssh2_publickey_list — 現在認証済みの公開鍵の一覧を表示する 説明 function ssh2_publickey_list ( resource $pkey ): array 現在認証済みの公開鍵の一覧を表示します。 パラメータ pkey 公開鍵サブシステムのリソ
... ース。 戻り値 鍵を、数値添字の配列で返します。 個々の要素は連想配列となっており、その内容は name、blob、および attrs です。 公開鍵の要素 配列のキー 意味 name この公開鍵で使用しているアルゴリズムの名前。例: ssh-dss あるいは ssh-rsa 。 blob ... 生のバイナリデータとしての blob 形式の公開鍵。 attrs この公開鍵に割り当てる属性。 もっとも一般的な属性であり、バージョン 1 の公開鍵サーバーが唯一サポートしている属性は comment ... me' ]} \n" ; echo "Blob: " . chunk_split ( base64_encode ( $key [ 'blob' ]), 40 , "\n" ) . "\n" ; echo "Comment: { $key [ 'attrs' ][ 'comment' ]} \n\n" ; } ?> 上の例の出力は以下となります。 Key: ssh-rsa Blob: AAAAB3NzaC1yc2EAAAABIwAAAIEA5HVt6VqSGd5P T ...
-
https://man.mtool.work/php/8.3/function.ssh2-publickey-list.html
- LDAP コントロール | PHP 8.3 8542
- LDAP コントロール コントロールは、リクエストを処理中にサーバーの振る舞いを変更するために LDAP リクエストと一緒に送られる特別なオブジェクトです。 サーバーがレスポンスと一緒に送ってくる、 追加の情報を提供するためのコントロールも存在します。 こ
... るキーは filter です。 LDAP_CONTROL_VALUESRETURNFILTER 期待されるキーは filter です。 LDAP_CONTROL_PRE_READ 期待されるキーは attrs です。 LDAP_CONTROL_POST_READ 期待されるキーは attrs です。 LDAP_CONTROL_SORTREQUEST attr, [oid], [reverse] をキーとして持 ...
-
https://man.mtool.work/php/8.3/ldap.controls.html
- XML エレメント構造の例 | PHP 8.3 8142
- XML エレメント構造の例 この最初の例は、あるドキュメント中のstart エレメントの構造をイン デントを付けて表示します。 例1 XML エレメント構造を表示 <?php $file = "examples/book.xml" ; $depth = 0 ; function startElement ( $parser , $name , $attrs
...
-
https://man.mtool.work/php/8.3/example.xml-structure.html
- XMLタグのマッピングの例 | PHP 8.3 7924
- XMLタグのマッピングの例 例1 XMLをHTMLにマップする この例は、XMLドキュメントのタグを直接HTMLタグにマップします。 "map array" にないエレメントは無視されます。もちろん、この例は、 特定の XML ドキュメント型を有する場合のみ動作します。 <?php $fi
... ; $map_array = array( "BOLD" => "B" , "EMPHASIS" => "I" , "LITERAL" => "TT" ); function startElement ( $parser , $name , $attrs ) { global $map_array ; if (isset( $map_array [ $name ])) { echo "< $map_array [ $name ] >" ; } } function endElement ( $p ...
-
https://man.mtool.work/php/8.3/example.xml-map-tags.html
- クラスを使ってXMLをパースする | PHP 8.3 7924
- クラスを使ってXMLをパースする この例は、どのようにクラスをハンドラと一緒に使うかを示しています。 例1 Show XML Element Structure <?php $file = "examples/book.xml" ; class CustomXMLParser { private $fp ; private $parser ; private $depth = 0 ;
... _set_character_data_handler ( $this -> parser , self :: cdata (...)); } private function startElement ( $parser , $name , $attrs ) { for ( $i = 0 ; $i < $this -> depth ; $i ++) { echo " " ; } echo " $name \n" ; $this -> depth ++; } private function en ...
-
https://man.mtool.work/php/8.3/example.xml-parsing-with-class.html
- LDAP コントロール | PHP 8.3 7306
- LDAP コントロール PHP >= 7.3.0 で LDAPコントロールを使う例をいくつか示します。 例1 policy(パスワードポリシー) 情報とバインドする <?php $user = 'cn=admin,dc=example,dc=com' ; $passwd = 'adminpassword' ; $ds = ldap_connect ( 'ldap://localhost
... elete_ext ( $link , 'o=test,dc=example,dc=com' , [ [ 'oid' => LDAP_CONTROL_PRE_READ , 'iscritical' => TRUE , 'value' => [ 'attrs' => [ 'o' , 'description' ]] ] ] ); // ここからは、ldap_parse_result を使う ?> 例4 参照を削除する <?php // $link は、 LDAP ...
-
https://man.mtool.work/php/8.3/ldap.examples-controls.html
PREV
1
NEXT