« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 70 for plain (0.003 sec.)
ブラウザからのリクエストを、phar アーカイブ内部のファイルに転送する 11123
« Phar::unlinkArchive PharData » PHP Manual Phar ブラウザからのリクエストを、phar アーカイブ内部のファイルに転送する 検索 Phar::webPhar (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) Phar::webPhar — ブラウザからのリクエストを、phar アー ... これらの関連が定義されています。 <?php $mimes = array( 'phps' => Phar :: PHPS , // highlight_file() に渡します 'c' => 'text/plain' , 'cc' => 'text/plain' , 'cpp' => 'text/plain' , 'c++' => 'text/plain' , 'dtd' => 'text/plain' , 'h' => 'text/plain' , 'l ... og' => 'text/plain' , 'rng' => 'text/plain' , 'txt' => 'text/plain' , 'xsd' => 'text/plain' , 'php' => Phar :: PHP , // PHP としてパースします ... cs() - fopen、file_get_contents、opendir などの stat 関連の関数をすべて phar に横取りさせる 関連キーワード: phar Phar text plain image アーカイブ webPhar 場合 php index リクエスト 転送 audio 内部 string null rewrite パース パラメータ phps ...
https://man.mtool.work/php/8.3/phar.webphar.html
ブラウザからのリクエストを、phar アーカイブ内部のファイルに転送する 11038
« Phar::unlinkArchive PharData » PHP Manual Phar ブラウザからのリクエストを、phar アーカイブ内部のファイルに転送する 検索 Phar::webPhar (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) Phar::webPhar — ブラウザからのリクエストを、phar アー ... これらの関連が定義されています。 <?php $mimes = array( 'phps' => Phar :: PHPS , // highlight_file() に渡します 'c' => 'text/plain' , 'cc' => 'text/plain' , 'cpp' => 'text/plain' , 'c++' => 'text/plain' , 'dtd' => 'text/plain' , 'h' => 'text/plain' , 'l ... og' => 'text/plain' , 'rng' => 'text/plain' , 'txt' => 'text/plain' , 'xsd' => 'text/plain' , 'php' => Phar :: PHP , // PHP としてパースします ... cs() - fopen、file_get_contents、opendir などの stat 関連の関数をすべて phar に横取りさせる 関連キーワード: phar Phar text plain image アーカイブ webPhar index リクエスト 転送 audio 内部 rewrite パース phps jpeg myphar ブラウザ fileNotFoundScript mime ...
https://man.mtool.work/php/8.3/phar.webphar.html
データ (RFC 2397) 10503
« zlib:// glob:// » PHP Manual サポートするプロトコル/ラッパー データ (RFC 2397) 検索 data:// data:// — データ (RFC 2397) 説明 data: ( » RFC 2397 ) ストリームラッパーです。 利用法 data://text/plain;base64, オプション ラッパーの概要 属性 サポ ... rmdir() のサポート No 例 例1 data:// の内容の表示 <?php // "I love PHP" と表示します echo file_get_contents ( 'data://text/plain;base64,SSBsb3ZlIFBIUAo=' ); ?> 例2 media type の取得 <?php $fp = fopen ( 'data://text/plain;base64,' , 'r' ); $meta = stre ... am_get_meta_data ( $fp ); // "text/plain" と表示します echo $meta [ 'mediatype' ]; ?> 関連キーワード: data サポート text plain 許可 データ ラッパー base Yes meta a ...
https://man.mtool.work/php/8.3/wrappers.data.html
指定されたテキストを復号する 10418
« gnupg_clearsignkeys gnupg_decryptverify » PHP Manual GnuPG 関数 指定されたテキストを復号する 検索 gnupg_decrypt (PECL gnupg >= 0.1) gnupg_decrypt — 指定されたテキストを復号する 説明 function gnupg_decrypt ( resource $identifier , string $ ... pt() の例 <?php $res = gnupg_init (); gnupg_adddecryptkey ( $res , "8660281B6051D071D94B5B230549F9DC851566DC" , "test" ); $plain = gnupg_decrypt ( $res , $encrypted_text ); echo $plain ; ?> 例2 オブジェクト指向の gnupg_decrypt() の例 <?php $gpg = new ... gnupg (); $gpg -> adddecryptkey ( "8660281B6051D071D94B5B230549F9DC851566DC" , "test" ); $plain = $gpg -> decrypt ( $encrypted_text ); echo $plain ; ?> 関連キーワード: gnupg decrypt テキスト 復号 text plain adddecryptk ...
https://man.mtool.work/php/8.3/function.gnupg-decrypt.html
指定されたテキストを復号する 10418
« gnupg_clearsignkeys gnupg_decryptverify » PHP Manual GnuPG 関数 指定されたテキストを復号する 検索 gnupg_decrypt (PECL gnupg >= 0.1) gnupg_decrypt — 指定されたテキストを復号する 説明 function gnupg_decrypt ( resource $identifier , string $ ... pt() の例 <?php $res = gnupg_init (); gnupg_adddecryptkey ( $res , "8660281B6051D071D94B5B230549F9DC851566DC" , "test" ); $plain = gnupg_decrypt ( $res , $encrypted_text ); echo $plain ; ?> 例2 オブジェクト指向の gnupg_decrypt() の例 <?php $gpg = new ... gnupg (); $gpg -> adddecryptkey ( "8660281B6051D071D94B5B230549F9DC851566DC" , "test" ); $plain = $gpg -> decrypt ( $encrypted_text ); echo $plain ; ?> 関連キーワード: gnupg decrypt テキスト 復号 text plain adddecryptk ...
https://man.mtool.work/php/8.3/function.gnupg-decrypt.html
データ (RFC 2397) 10333
« zlib:// glob:// » PHP Manual サポートするプロトコル/ラッパー データ (RFC 2397) 検索 data:// data:// — データ (RFC 2397) 説明 data: ( » RFC 2397 ) ストリームラッパーです。 利用法 data://text/plain;base64, オプション ラッパーの概要 属性 サポ ... rmdir() のサポート No 例 例1 data:// の内容の表示 <?php // "I love PHP" と表示します echo file_get_contents ( 'data://text/plain;base64,SSBsb3ZlIFBIUAo=' ); ?> 例2 media type の取得 <?php $fp = fopen ( 'data://text/plain;base64,' , 'r' ); $meta = stre ... am_get_meta_data ( $fp ); // "text/plain" と表示します echo $meta [ 'mediatype' ]; ?> 関連キーワード: サポート text plain 許可 ラッパー base meta allow fopen 制約 ...
https://man.mtool.work/php/8.3/wrappers.data.html
データを復号する 8754
« mcrypt_module_self_test Mhash » PHP Manual Mcrypt 関数 データを復号する 検索 mdecrypt_generic (PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0) mdecrypt_generic — データを復号する 警告 この関数は PHP 7.1.0 で 非推奨 となり、PHP ... します。 例 例1 mdecrypt_generic() の例 <?php /* データ */ $key = 'this is a very long key, even too long for the cipher' ; $plain_text = 'very important data' ; /* モジュールをオープンし、IV を作成します */ $td = mcrypt_module_open ( 'des' , '' , 'ecb' ... します */ if ( mcrypt_generic_init ( $td , $key , $iv ) != - 1 ) { /* データを暗号化します */ $c_t = mcrypt_generic ( $td , $plain_text ); mcrypt_generic_deinit ( $td ); /* 復号のため、バッファを再度初期化します */ mcrypt_generic_init ( $td , $key , $iv ... ( $td , $c_t ); /* 後始末をします */ mcrypt_generic_deinit ( $td ); mcrypt_module_close ( $td ); } if ( strncmp ( $p_t , $plain_text , strlen ( $plain_text )) == 0 ) { echo "ok\n" ; } else { echo "error\n" ; } ?> 上記の例は、暗号化前のデータと復号した ...
https://man.mtool.work/php/8.3/function.mdecrypt-generic.html
データを復号する 8754
« mcrypt_module_self_test Mhash » PHP Manual Mcrypt 関数 データを復号する 検索 mdecrypt_generic (PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0) mdecrypt_generic — データを復号する 警告 この関数は PHP 7.1.0 で 非推奨 となり、PHP ... します。 例 例1 mdecrypt_generic() の例 <?php /* データ */ $key = 'this is a very long key, even too long for the cipher' ; $plain_text = 'very important data' ; /* モジュールをオープンし、IV を作成します */ $td = mcrypt_module_open ( 'des' , '' , 'ecb' ... します */ if ( mcrypt_generic_init ( $td , $key , $iv ) != - 1 ) { /* データを暗号化します */ $c_t = mcrypt_generic ( $td , $plain_text ); mcrypt_generic_deinit ( $td ); /* 復号のため、バッファを再度初期化します */ mcrypt_generic_init ( $td , $key , $iv ... ( $td , $c_t ); /* 後始末をします */ mcrypt_generic_deinit ( $td ); mcrypt_module_close ( $td ); } if ( strncmp ( $p_t , $plain_text , strlen ( $plain_text )) == 0 ) { echo "ok\n" ; } else { echo "error\n" ; } ?> 上記の例は、暗号化前のデータと復号した ...
https://man.mtool.work/php/8.3/function.mdecrypt-generic.html
ファイルの MIME Content-type を検出する 8402
« finfo_set_flags finfo » PHP Manual Fileinfo 関数 ファイルの MIME Content-type を検出する 検索 mime_content_type (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) mime_content_type — ファイルの MIME Content-type を検出する 説明 function mime_content_t ... type を返します。 パラメータ filename 調べるファイルへのパス。 戻り値 Content type を MIME 形式で返します。 たとえば text/plain あるいは application/octet-stream のような形式です。 失敗した場合に false を返します。 エラー / 例外 失敗したときは E_WARN ... ontent_type ( 'php.gif' ) . "\n" ; echo mime_content_type ( 'test.php' ); ?> 上の例の出力は以下となります。 image/gif text/plain 参考 finfo_file() - ファイルについての情報を返す finfo_buffer() - 文字列バッファの情報を返す 関連キーワード: type mime con ... tent Content finfo 検出 php string filename false text plain 失敗 echo gif set flags Search Fileinfo function ...
https://man.mtool.work/php/8.3/function.mime-content-type.html
SNMP の値が返される方法を設定する 8402
« snmp_set_quick_print snmp2_get » PHP Manual SNMP 関数 SNMP の値が返される方法を設定する 検索 snmp_set_valueretrieval (PHP 4 >= 4.3.3, PHP 5, PHP 7, PHP 8) snmp_set_valueretrieval — SNMP の値が返される方法を設定する 説明 function snmp_set_ ... l ( int $method ): true パラメータ method 型 SNMP_VALUE_LIBRARY Net-SNMP ライブラリの返す形式のままで返します。 SNMP_VALUE_PLAIN SNMP の型情報を含まないプレーンな値を返します。 SNMP_VALUE_OBJECT プロパティ value および type をもつオブジェクトを返します ... は SNMP_OCTET_STR や SNMP_COUNTER などの定数のいずれかとなります。 value を返す方法は、定数 SNMP_VALUE_LIBRARY , SNMP_VALUE_PLAIN のどちらが設定されているかによって決まります。 戻り値 常に true を返します。 変更履歴 バージョン 説明 8.2.0 戻り値の型が、 ... ret = snmpget ( 'localhost' , 'public' , 'IF-MIB::ifName.1' ); // $ret = "STRING: lo" snmp_set_valueretrieval ( SNMP_VALUE_PLAIN ); $ret = snmpget ( 'localhost' , 'public' , 'IF-MIB::ifName.1' ); // $ret = "lo"; snmp_set_valueretrieval ( SNMP_VALUE_OB ...
https://man.mtool.work/php/8.3/function.snmp-set-valueretrieval.html
PREV 1 2 3 4 5 6 7 NEXT