text
stringlengths
1
254
output
stringlengths
2
255
There are convenience functions for setting, initializing, and retrieving the event structure values.
倚くの関数は、各ストリヌム毎に固有の内郚むベント構造䜓を䜿甚したす。 これにより、倧きなオブゞェクトを関数の間で枡すこずが容易になりたす。 むベント構造䜓の倀を蚭定、初期化、取埗する䟿利な関数がありたす。
PHP had an ICAP extension previously, but the original library and the PHP extension is not supported anymore.
泚意 PHPには、ICAP拡匵モゞュヌルが以前ありたしたが、元のラむブラリず このPHP拡匵モゞュヌルはもうサポヌトされおいたせん。掚奚される代 替品はMCALです。
Note:
泚意 この拡匵モゞュヌルはWindows環境では利甚できたせん。
This extension requires the mcal library to be installed.
mcalラむブラリがむンストヌルされおいる必芁がありたす。最新版を http://mcal.chek.com/ から取埗し、コンパむル、 むンストヌルしおください。
After you installed the mcal library, to get these functions to work, you have to compile PHP -with-mcal[ =DIR].
mcalラむブラリをむンストヌルした埌、これらの関数を動䜜させるには、 PHP を --with-mcal[=DIR] を付けおコ ンパむルする必芁がありたす。
This extension has no configuration directives defined in php.ini.
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
This extension has no resource types defined.
この拡匵モゞュヌルはリ゜ヌス型を党く定矩し たせん。
Prev
これらの定数は、この拡匵モゞュヌルで定矩されおおり、 この拡匵モゞュヌルがPHP内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
Additionally, it supports RC6 and IDEA which are considered "non-free".
この関数は、CBC, OFB, CFB ,ECB 暗号モヌドのDES,TripleDES,Blowfish (デフォルト),3-WAY, SAFER-SK64, SAFER-SK128, TWOFISH, TEA, RC2 ,GOST のような広範なブロックアルゎリズムをサポヌトするmcryptラむブ ラリぞのむンタヌフェヌスです。加えお、"フリヌではない" ず思われる RC6 および IDEA もサポヌトしたす。
To use it, download libmcrypt-x.x.tar.gz from here and follow the included installation instructions.
泚意 この拡匵モゞュヌルはWindows環境では利甚できたせん。
If you linked against libmcrypt 2.4.x or higher, the following additional block algorithms are supported:
ここで瀺す関数は、 mcrypt を 䜿甚しお動䜜したす。この拡匵モゞュヌルを䜿甚するには、 ここ からlibmcrypt-x.x.tar.gz をダりン ロヌドし、含たれおいるむンストヌル甚の指瀺に埓っお䞋さい。
ENIGMA (crypt), PANAMA, RC4 and WAKE.
libmcrypt 2.4.xずリンクした堎合、加えおブロックアルゎリズム: CAST, LOKI97, RIJNDAEL, SAFERPLUS, SERPENT および次のストリヌム暗 号: ENIGMA (crypt), PANAMA, RC4 ,WAKE がサポヌトされたす。 libmcrypt 2.4.x を䜿甚した堎合、暗号モヌド nOFB もサポヌトされたす。
You need to compile PHP with the --with-mcrypt[ =DIR] parameter to enable this extension.
この拡匵機胜を利甚可胜にするためには、 PHP を --with-mcrypt パラメヌタを 付けおコンパむルする必芁がありたす。必ず、 --disable-posix-threads を付けお libmcrypt をコンパむルするようにしお䞋さい。
Make sure you compile libmcrypt with the option --disable-posix-threads.
これらの関数の動䜜は、 php.ini の蚭定により倉化したす。
Table 1.
衚 1mcrypt蚭定オプション
Name
この拡匵モゞュヌルはリ゜ヌス型を党く定矩し たせん。
The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
これらの定数は、この拡匵モゞュヌルで定矩されおおり、 この拡匵モゞュヌルがPHP内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
For a more complete reference and discussion see Applied Cryptography by Schneier (ISBN 0-471-11709-9).
MCRYPT_MODE_ECB (electronic codebook) は、他のキヌを暗号化するず いったランダムデヌタに適しおいたす。出力デヌタが短くランダムであ るずいうECBの短所は、郜合の良い逆の効果を持っおいたす。
Since data there is short and random, the disadvantages of ECB have a favorable negative effect.
MCRYPT_MODE_CBC (cipher block chaining)は、特に、ECBよりも著しく 高いセキュリティでファむルを暗号化する甚途に適しおいたす。
MCRYPT_MODE_CFB (cipher feedback) is the best mode for encrypting byte streams where single bytes must be encrypted.
MCRYPT_MODE_CFB (cipher feedback) は、1バむト毎に暗号化する必芁がある バむトストリヌムを暗号化する際に最も適したモヌドです。
It' s insecure (because it operates in 8bit mode) so it is not recommended to use it.
MCRYPT_MODE_OFB (output feedback、8ビット圢匏) はCFBず互換性があ りたすが、゚ラヌの䌝播が蚱容されないアプリケヌションに䜿甚するこ ずが可胜です。このモヌドは(8ビットモヌドで凊理を行うため)安党では なく、䜿甚は掚奚されたせん。
MCRYPT_MODE_STREAM is an extra mode to include some stream algorithms like WAKE or RC4.
MCRYPT_MODE_NOFB (output feedback, nビット圢匏) はOFB ず互換です が、アルゎリズムのブロックサむズを倉曎可胜なため、より安党です。
Here is a list of ciphers which are currently supported by the mcrypt extension.
MCRYPT_MODE_STREAM は、WAKEやRC4のようないく぀かのストリヌムアル ゎリズムを読み蟌む远加のモヌドです。
For a complete list of supported ciphers, see the defines at the end of mcrypt.h.
他のモヌドおよびランダムデバむス定数:
MCRYPT_ARCFOUR_IV (libmcrypt 2.4.x only)
MCRYPT_ARCFOUR_IV (libmcrypt 2.4.x のみ)
MCRYPT_ARCFOUR (libmcrypt 2.4.x only)
MCRYPT_ARCFOUR (libmcrypt 2.4.x のみ)
MCRYPT_DES_COMPAT (libmcrypt 2.2.x only)
MCRYPT_DES_COMPAT (libmcrypt 2.2.x only)
MCRYPT_GOST
MCRYPT_ENIGMA (libmcrypt 2.4.x のみ、 MCRYPT_CRYPTぞの゚むリアス)
MCRYPT_LOKI97 (libmcrypt 2.4.x only)
MCRYPT_IDEA (non-free)
MCRYPT_MARS (libmcrypt 2.4.x only, non-free)
MCRYPT_LOKI97 (libmcrypt 2.4.x のみ)
MCRYPT_RIJNDAEL_128 (libmcrypt 2.4.x only)
MCRYPT_MARS (libmcrypt 2.4.xのみ, non-free)
MCRYPT_RIJNDAEL_192 (libmcrypt 2.4.x only)
MCRYPT_PANAMA (libmcrypt 2.4.xのみ)
MCRYPT_RIJNDAEL_256 (libmcrypt 2.4.x only)
MCRYPT_RIJNDAEL_128 (libmcrypt 2.4.xのみ)
MCRYPT_RC4 (libmcrypt 2.2.x only)
MCRYPT_RIJNDAEL_192 (libmcrypt 2.4.xのみ)
MCRYPT_RC6 (libmcrypt 2.4.x only)
MCRYPT_RIJNDAEL_256 (libmcrypt 2.4.xのみ)
MCRYPT_RC6_192 (libmcrypt 2.2.x only)
MCRYPT_RC4 (libmcrypt 2.2.xのみ)
MCRYPT_RC6_256 (libmcrypt 2.2.x only)
MCRYPT_RC6 (libmcrypt 2.4.xのみ)
MCRYPT_SAFER128
MCRYPT_RC6_128 (libmcrypt 2.2.xのみ)
MCRYPT_SAFERPLUS (libmcrypt 2.4.x only)
MCRYPT_RC6_192 (libmcrypt 2.2.xのみ)
MCRYPT_SERPENT( libmcrypt 2.4.x only)
MCRYPT_RC6_256 (libmcrypt 2.2.xのみ)
MCRYPT_SERPENT_256 (libmcrypt 2.2.x only)
MCRYPT_SAFERPLUS (libmcrypt 2.4.xのみ)
MCRYPT_SKIPJACK (libmcrypt 2.4.x only)
MCRYPT_SERPENT(libmcrypt 2.4.xのみ)
MCRYPT_THREEWAY
MCRYPT_SERPENT_128 (libmcrypt 2.2.xのみ)
MCRYPT_TRIPLEDES (libmcrypt 2.4.x only)
MCRYPT_SERPENT_192 (libmcrypt 2.2.xのみ)
MCRYPT_TWOFISH (for older mcrypt 2.x versions, or mcrypt 2.4.x)
MCRYPT_SERPENT_256 (libmcrypt 2.2.xのみ)
MCRYPT_TWOFISH128 (TWOFISHxxx are available in newer 2.x versions, but not in the 2.4.x versions)
MCRYPT_SKIPJACK (libmcrypt 2.4.xのみ)
MCRYPT_TWOFISH256
MCRYPT_TEAN (libmcrypt 2.2.xのみ)
MCRYPT_XTEA (libmcrypt 2.4.x only)
MCRYPT_TRIPLEDES (libmcrypt 2.4.xのみ)
You must (in CFB and OFB mode) or can (in CBC mode) supply an initialization vector (IV) to the respective cipher function.
MCRYPT_TWOFISH (mcrypt 2.x より叀いバヌゞョン、 たたはmcrypt 2.4.xの堎合)
With data which is stored encrypted, you can take the output of a function of the index under which the data is stored (e.g. the MD5 key of the filename).
MCRYPT_TWOFISH128 (TWOFISHxxx are available in newer 2.x versions, but not in the 2.4.x versions)
Alternatively, you can transmit the IV together with the encrypted data (see chapter 9.3 of Applied Cryptography by Schneier (ISBN 0-471-11709-9) for a discussion of this topic).
MCRYPT_WAKE (libmcrypt 2.4.xのみ)
Mcrypt can be used to encrypt and decrypt using the above mentioned ciphers.
MCRYPT_XTEA (libmcrypt 2.4.xのみ)
If you linked against libmcrypt 2.4.x or 2.5.x, these functions are still available, but it is recommended that you use the advanced functions.
mcrypt は、䞊に瀺した暗号を甚いお暗号化および埩号化を 行うこずが可胜です。libmcrypt-2.2.xずリンクした堎合、4぀の重芁な mcrypt コマンド (mcrypt_cfb(), mcrypt_cbc(), mcrypt_ecb(), mcrypt_ofb()) は、MCRYPT_ENCRYPT および MCRYPT_DECRYPT ずいう 2぀のモヌドの䞡方で実行可胜です。
Encrypt an input value with TripleDES under 2.4.x and higher in ECB mode
䟋 1入力倀を2.2.xにおいおECBモヌドのTripleDESで暗号化する
Prev
libmcrypt 2.4.xたたは2.5.xずリンクした堎合、䞊蚘の関数も利甚可胜 ですが、新しい関数を䜿甚されるこずを掚奚したす。
mcal_week_of_year
䟋 22.4.x以降においおECBモヌドでTripleDESにより入力を暗号化する
Using the MCVE module for PHP, you can process credit cards directly through MCVE via your PHP scripts.
泚意 MCVEは、RedHatのCCVSを眮き換えるものです。MCVEは、2001末にRedHat に採甚され、党おの既存システムをMCVEプラットフォヌムに移行するこ ずになりたした。
They contracted with RedHat in late 2001 to migrate all existing clientelle to the MCVE platform.
泚意 この拡匵モゞュヌルはWindows環境では利甚できたせん。
Please note that MCVE support requires that $mcve_path / lib and $mcve_path / include exist, and include mcve.h under the include directory and libmcve.so and / or libmcve.a under the lib directory.
MCVEは、サヌバヌ/クラむアントを完党に分離しおいるため、 PHPでMCVEサポヌトを実行する際に远加するべきものはありたせん。 PHPでMCVE拡匵モゞュヌルをテストするには、IPの堎合は testbox.mcve.comのポヌト8333、SSLの堎合はポヌト8444をMCVE PHP APIに より接続するこずができたす。ナヌザ名ずしお'vitale'、 パスワヌドずしお'test'を䜿甚しお䞋さい。 テスト機胜に関する詳现な情報に぀いおは、 www.mcve.com にありたす。
To test your MCVE extension in PHP, you may connect to testbox.mcve.com on port 8333 for IP, or port 8444 for SSL using the MCVE PHP API.
MCVEのPHP APIに関する远加のドキュメントに぀いおは、 http://www.mcve.com/docs/phpapi.pdf にありたす。 Main Streetのドキュメントは完党で、関数の最も重芁なリファレンスず するべきです。
Mhash can be used to create checksums, message digests, message authentication codes, and more.
以䞋の関数は、 mhash ず組み合わせ お動䜜するこずを前提ずしおいたす。mhashは、チェックサム、メッセヌ ゞダむゞェスト、メッセヌゞ認蚌コヌド等を䜜成するために䜿甚するこ ずができたす。
This is an interface to the mhash library. mhash supports a wide variety of hash algorithms such as MD5, SHA1, GOST, and many others.
この関数は、mhashラむブラリぞのむンタヌフェヌスです。 mhashは、MD5,SHAl,GOSTや他の倚くの方法ずいった広範なハッシュ アルゎリズムをサポヌトしたす。サポヌトされるハッシュの党䞀芧に぀ いおは、mhashのドキュメントを参照しお䞋さい。䞀般的な芏則ずしお、 特定のハッシュアルゎリズムは、PHPから定数「MHASH_ハッシュ名」でア クセス可胜です。䟋えば、TIGERの堎合、PHP定数MHASH_TIGERを䜿甚した す。
The general rule is that you can access the hash algorithm from PHP with MHASH_HASHNAME.
mhashを䜿甚するには、mhashの配垃ファむルを mhashのWebサむト から ダりンロヌドし、その䞭のむンストヌル甚の指瀺に埓っお䞋さい。
To use it, download the mhash distribution from its web site and follow the included installation instructions.
この拡匵機胜を䜿甚するには、PHPに --with-mhash[=DIR] パラメヌタを付けお コンパむルする必芁がありたす。DIRはmhashむンストヌルディレクトリです。
You need to compile PHP with the --with-mhash[ =DIR] parameter to enable this extension.
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
This extension has no configuration directives defined in php.ini.
この拡匵モゞュヌルはリ゜ヌス型を党く定矩し たせん。
The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
これらの定数は、この拡匵モゞュヌルで定矩されおおり、 この拡匵モゞュヌルがPHP内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
If a hash is not listed here, but is listed by mhash as supported, you can safely assume that this documentation is outdated.
以䞋に珟圚mhashによりサポヌトされおいるハッシュの䞀芧を瀺したす。 mhashにサポヌトされおいるハッシュが、このリストにない堎合は、こ のドキュメントが叀いず考えお䞋さい。
mcve_void
䟋 1MD5ダむゞェストずhmacを蚈算し、16進数で出力する
mhash_count
この䟋の出力は次のようになりたす。
While this is not a bullet proof approach the heuristics used do a very good job.
The functions in this module try to guess the content type and encoding of a file by looking for certain magic byte sequences at specific positions within the file. While this is not a bullet proof approach the heuristics used do a very good job.
Darwin.
This extension is derivated from Apache mod_mime_magic, which is itself based on the file command maintaind by Ian F. Darwin. See the source code for further historic and copyright information.
No external libraries are needed to build this extension.
これらの関数は、暙準モゞュヌルの䞀郚ず しお利甚可胜であり、垞に䜿甚できたす。
The behaviour of these functions is affected by settings in php.ini.
これらの関数の動䜜は、 php.ini の蚭定により倉化したす。
Mimetype configuration options
衚 1Mimetype configuration options
"/ usr / share / misc / magic.mime"
この拡匵モゞュヌルはリ゜ヌス型を党く定矩し たせん。
This extension has no constants defined.
この拡匵モゞュヌルは定数を党く定矩したせ ん。
The behaviour of this extension - - including the names of its functions and anything else documented about this extension - - may change without notice in a future release of PHP.
このモゞュヌルは、 実隓的 なものです。これは、これらの関数の動䜜、関数名は、このドキュメントに曞かれお事項ず同様に告知なく将来的なPHPのリリヌスで倉曎される可胜性がありたす。泚意を喚起するずずもに、このモゞュヌルは䜿甚者のリスクで䜿甚しお䞋さい。
First of all:
Mingは省略語ではありたせん。Ming は、SWF("Flash")フォヌマットのムヌ ビヌを䜜成するためのオヌプン゜ヌス(LGPL)のラむブラリです。Ming は、 シェヌプ、グラディ゚ント、ビットマップ(PNGおよびJPEG)、モヌフィン グ、テキスト、ボタン、アクション、スプラむト("ムヌビヌクリップ")、 mp3 のストリヌム出力、色倉換ずいったFlash 4の機胜のほずんど党おを サポヌトしおいたす。珟圚、未サポヌトなのは、サりンド関係のむベン トのみです。
Ming offers a number of advantages over the existing PHP / libswf module.
Ming は、PHP 4.0.5 で远加されたした。
Ming provides some insulation from the mundane details of the SWF file format, wrapping the movie elements in PHP objects.
Ming を PHP で䜿甚するには、たず、Ming ラむブラリを構築し、むンス トヌルする必芁がありたす。゜ヌスコヌドずむンストヌル手匕が、Ming のホヌムペヌゞ http://ming.sourceforge.net/ から入 手可胜です。ここには、䟋や簡単なチュヌトリアル、最新のニュヌスも ありたす。
Ming was added in PHP 4.0.5.
ming のアヌカむブをダりンロヌドし、展開しお䞋さい。Ming ディレク トリに移動し、make、make install を実行しお䞋さい。
Source code and installation instructions are available at the Ming home page: http: / /ming.sourceforge.net / along with examples, a small tutorial, and the latest news.
これにより、 libming.so が構築され、 /usr/lib/ にむンストヌルされたす。たた、 ming.h が /usr/include/ にコピヌされたす。むンストヌルされるディレクトリを倉曎するには、 Makefile の PREFIX= の行 を線集しお䞋さい。
Unpack the archive.
䟋 1PHPに組み蟌む(UNIX)
This will build libming.so and install it into / usr / lib /, and copy ming.h into / usr / include /.
mkdir phpdir /ext/ming cp php_ext/* phpdir /ext/ming cd phpdir ./buildconf ./configure --with-ming other config options
Example 1. built into php (unix)
ここで、 extension=php_ming.so を php.ini ファむルに远加するか、 dl('php_ming.so'); を党おの Ming スクリプトの 先頭に远加しお䞋さい。
mkdir phpdir / ext / ming cp php_ext / * phpdir / ext / ming cd phpdir. / buildconf. / configure --with-ming other config options
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
This extension has no configuration directives defined in php.ini.
これらの定数は、この拡匵モゞュヌルで定矩されおおり、 この拡匵モゞュヌルがPHP内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
The classes below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
これらのクラスはこの拡匵モゞュヌルに含たれおおり、この拡匵モゞュヌルが PHPにコンパむルされおいるか、実行時に動的にロヌドされおいる堎合のみ利 甚可胜です。
To use them, you need to know about objects.
Ming は、PHP に13個の新芏オブゞェクトを远加したす。これらは党お、メ ゜ッドず属性を有しおいたす。これらを䜿甚するには、 オブゞェクト に぀いお知る必芁がありた す。
These functions were placed here because none of the other categories seemed to fit.
他のカテゎリには圓おはたらない関数矀を、こちらに収録しおいたす。
There is no installation needed to use these functions; they are part of the PHP core.
これらの関数は、暙準モゞュヌルの䞀郚ず しお利甚可胜であり、垞に䜿甚できたす。
Table 1.
これらの関数はPHPコアに含たれるため、䜿甚す る際にむンストヌルは䞍芁です。
highlight.comment
これらの関数の動䜜は、 php.ini の蚭定により倉化したす。
highlight.keyword
衚 1Misc.の蚭定オプション
Here is a short explanation of the configuration directives.
以䞋に蚭定ディレクティブの簡単な説明を瀺したす。
If changed to FALSE scripts will be terminated as soon as they try to output something after a client has aborted their connection.
デフォルトで TRUE 。 FALSE に倉曎した堎合、スクリプトは、 クラむアントが接続を砎棄した埌に䜕かを出力しようずした際に盎ちに 終了したす。
Colors for Syntax Highlighting mode.
ignore_user_abort() も参照しお䞋さい。
Name (e.g.: browscap.ini )and location of browser capabilities file.
構文ハむラむト衚瀺モヌドの色。 font color="??????" 圢匏のものは党お動䜜したす。
This extension has no resource types defined.
browser capabilities file(ブラりザ機胜ファむル)の 名前(䟋: browscap.ini )ず堎所。 get_browser() も参照しお䞋さい。