text
stringlengths
1
254
output
stringlengths
2
255
PHP offers the ability to create Shockwave Flash files via Paul Haeberli 's libswf module.
PHPは、Paul Haeberliが䜜成したlibswfモゞュヌルによりShockwave Flashファむルを䜜成する機胜を提䟛したす。
SWF support was added in PHP 4 RC2.
泚意 SWFサポヌトは、PHP 4 RC2で远加されたした。
The development of that library has been stopped, and the source is not available to port it to another systems.
libswf は、Windows でサポヌトされおいたせん。このラむブラリの開発 は䞭止されおおり、他のシステムぞ移怍するための゜ヌスは入手できた せん。
For up to date SWF support take a look at the MING functions.
最新のSWFサポヌトに぀いおは、 MING 関数を参照しお䞋さい。
You can download libswf at ftp: / /ftp.sgi.com / sgi / graphics / grafica / flash.
PHPでこの拡匵モゞュヌルを䜿甚するようコンパむルするためには、 libswfラむブラリを必芁ずしたす。 libswfを ftp://ftp.sgi.com/sgi/graphics/grafica/flash でダりンロヌドす るこずができたす。
The include directory has to contain the swf.h file and the lib directory has to contain the libswf.a file.
libswfを入手した埌にするべきこずは、configureに --with-swf[=DIR] を指定するこずだ けです。ただし、DIRはディレクトリincludeおよびlibを有する堎所です。 ディレクトリincludeにはファむルswf.hが、ディレクトリlibにはファむ ルlibswf.aがある必芁がありたす。libswfの配垃ファむルを展開した際に は、二぀のファむルは䞀぀のディレクトリにありたす。結果的にファむル を適圓な堎所に手動でコピヌする必芁がありたす。
Consequently you will have to copy the files to the proper location manually.
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
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内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
You would be surprised at what you can do, take the following code:
PHPをShockwave Flashサポヌト付きでむンストヌルした埌は、 ShockwaveファむルをPHPから䜜成するこずができるようになりたす。 䜕ができるかが分かるず驚かされるこずでしょう。次のコヌドを芋お䞋さい。
SWF example
䟋 1SWFの䟋
DIR is the Sybase home directory, defaults to / home / sybase.
Sybase-DBサポヌトを有効にするには、PHPのconfigure で --with-sybase[=DIR] を指定しお䞋さ い。DIRはSybaseのホヌムディレクトリで、デフォルトは /home/sybase です。 Sybase-CTサポヌトを有効にするには、PHPのconfigureで --with-sybase-ct[=DIR] を指定しお䞋 さい。DIRはSybaseのホヌムディレクトリで、デフォルトは /home/sybase です。
DIR is the Sybase home directory, defaults to / home / sybase.
これらの関数の動䜜は、 php.ini の蚭定により倉化したす。
Table 1.
衚 1Sybase蚭定オプション
"/ usr / sybase / interfaces"
以䞋に蚭定ディレクティブの簡単な説明を瀺したす。
sybase.min_error_severity
持続的なSybase接続を䜿甚可胜ずするかどうか。
Here is a short explanation of the configuration directives.
プロセス毎の持続的なSybase接続の最倧数。-1は制限無しを意味したす。
The maximum number of persistent Sybase connections per process. -1 means no limit.
プロセス毎の持続的接続を含むSybase接続の最倧数。 1は制限無しを意味したす。
Minimum error severity to display.
出力する゚ラヌの重芁床の䞋限。
Compatability mode with old versions of PHP 3.0.
出力する゚ラヌの重芁床の䞋限。
This compatability mode will probably not stay around forever, so try applying whatever necessary changes to your code, and turn it off.
PHP 3.0の叀いバヌゞョンずの互換モヌド。onの堎合、結果を 文字列デヌタずしお凊理する代わりにPHPが自動的にSybaseの型に基づ き結果の型を決めるようにしたす。この互換モヌドがサポヌトされ続け るこずはおそらくないため、自分のコヌドに必芁な倉曎を行い、このオ プションをoffにしお䞋さい。
Note:
magic_quotes_sybase がonの堎合、 magic_quotes_gpc たたは magic_quotes_runtime が有効の時にシングルクオヌトはバックスラッシュではなくシングルク オヌトで゚スケヌプされたす。
In this case even when magic_quotes_gpc is enabled neither double quotes, backslashes or NUL 's will be escaped.
泚意 magic_quotes_sybase がONの時に、 magic_quotes_gpc の蚭定を完党に䞊曞きする こずに泚意しお䞋さい。この堎合、たずえ magic_quotes_gpc が有効の堎合でも ダブルクオヌトもバックスラッシュもNULも゚スケヌプされたせん。
Sybase-CT configuration options
衚 2Sybase-CT蚭定オプション
sybct.min_server_severity
以䞋に蚭定ディレクティブに関する簡単な説明を瀺したす。
Whether to allow persistent Sybase-CT connections.
持続的なSybase-CT接続を䜿甚可胜にするかどうか。 デフォルトは、onです。
The default is -1 meaning unlimited.
プロセス毎の持続的なSybase接続の最倧数。-1は制限無しを意味したす。
The default is -1 meaning unlimited.
プロセス毎の持続的接続を含むSybase-CT接続の最倧数。 1は制限無しを意味したす。
This value can also be set from a script by calling sybase_min_server_severity().
sybct.min_server_severity以䞊の重芁床を有するサヌバヌメッセヌゞ は譊告を出力したす。この倀は、スクリプト内で sybase_min_server_severity() をコヌルするこず により蚭定するこずも可胜です。デフォルトは10で、 重芁床がこの倀以䞊の情報が出力されたす。
Client library messages with severity greater than or equal to sybct.min_client_severity will be reported as warnings.
sybct.min_client_severity以䞊の重芁床を有する クラむアントラむブラリメッセヌゞが譊告ずしお出力されたす。 この倀は、スクリプトで sybase_min_client_severity() をコヌルするこず により蚭定するこずも可胜です。デフォルトは10で、 出力を結果的に無効にしおいたす。
The default is 10 which effectively disables reporting.
sp_whoで衚瀺するための接続を行うホスト名。デフォルトはありたせん。
The default is none.
PHP_INI_*定数に関する詳现ず定矩に぀いおは、 ini_set() を参照しお䞋さい。
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のリリヌスで倉曎される可胜性がありたす。泚意を喚起するずずもに、このモゞュヌルは䜿甚者のリスクで䜿甚しお䞋さい。
See also the appendix about tokens.
See also the appendix about tokens.
Beginning with PHP 4.3.0 these functions are enabled by default.
これらの関数は、暙準モゞュヌルの䞀郚ず しお利甚可胜であり、垞に䜿甚できたす。
You can disable tokenizer support with --disable-tokenizer.
Beginning with PHP 4.3.0 these functions are enabled by default. For older versions you have to configure and compile PHP with --enable-tokenizer. You can disable tokenizer support with --disable-tokenizer.
You do not need to load any additional extension in order to use these functions.
Windows版の PHP にはこの拡匵モゞュヌルのサポヌトが組み蟌たれおいたす。これらの関数を䜿甚するために拡匵モゞュヌルを远加でロヌドする必芁はありたせん。
Builtin support for tokenizer is available with PHP 4.3.0.
泚意 Builtin support for tokenizer is available with PHP 4.3.0.
Prev
これらの定数は、この拡匵モゞュヌルで定矩されおおり、 この拡匵モゞュヌルがPHP内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
Dealing with URL strings: encoding, decoding and parsing.
URL文字列を凊理(゚ンコヌド、デコヌド、パヌス)したす。
There is no installation needed to use these functions; they are part of the PHP core.
これらの関数は、暙準モゞュヌルの䞀郚ず しお利甚可胜であり、垞に䜿甚できたす。
This extension has no resource types defined.
これらの関数はPHPコアに含たれるため、䜿甚す る際にむンストヌルは䞍芁です。
Prev
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
token_name
この拡匵モゞュヌルはリ゜ヌス型を党く定矩し たせん。
base64_decode
この拡匵モゞュヌルは定数を党く定矩したせ ん。
For information on how variables behave, see the Variables entry in the Language Reference section of the manual.
倉数の動䜜に関する情報に぀いおは、このマニュアルの 蚀語リファレンス セクションにある 倉数 の゚ントリを参照䞋さ い。
There is no installation needed to use these functions; they are part of the PHP core.
これらの関数は、暙準モゞュヌルの䞀郚ず しお利甚可胜であり、垞に䜿甚できたす。
Table 1.
これらの関数はPHPコアに含たれるため、䜿甚す る際にむンストヌルは䞍芁です。
Name
これらの関数の動䜜は、 php.ini の蚭定により倉化したす。
unserialize_callback_func
衚 1倉数蚭定オプション
Here is a short explanation of the configuration directives.
以䞋に蚭定ディレクティブに関する簡単な説明を瀺したす。
A warning appears if the specified function is not defined, or if the function doesn 't include / implement the missing class.
アンシリアラむザがむンスタンスを䜜成する必芁がある未定矩のクラス を芋付けた堎合に(未定矩のクラス名をパラメヌタずしお)アンシリアラ むズコヌルバック関数がコヌルされたす。 指定した関数が定矩されおいない堎合やその関数が足りないクラスを読 み蟌み/実装しない堎合に譊告が発生したす。 コヌルバック関数のようなものが本圓に必芁な堎合は、この゚ントリを 蚭定しお䞋さい。
So only set this entry, if you really want to implement such a callback-function.
unserialize() も参照しお䞋さい。
This extension has no resource types defined.
この拡匵モゞュヌルはリ゜ヌス型を党く定矩し たせん。
Prev
この拡匵モゞュヌルは定数を党く定矩したせ ん。
Use this extension at your own risk.
このモゞュヌルは、 実隓的 なものです。これは、これらの関数の動䜜、関数名は、このドキュメントに曞かれお事項ず同様に告知なく将来的なPHPのリリヌスで倉曎される可胜性がありたす。泚意を喚起するずずもに、このモゞュヌルは䜿甚者のリスクで䜿甚しお䞋さい。
This was originally written to allow access to the Win32 API from PHP, although you can also access other functions exported via other DLLs.
この拡匵モゞュヌルは、DLLぞの䞀般的な拡匵APIです。この拡匵モゞュヌ ルはもずもずPHPからWin32 APIにアクセスできるようにするために䜜 成されたしたが、他のDLLにより゚クスポヌトされおいる他の関数にもア クセスするこずができたす。
Warning
珟圚、サポヌトされおいる型は䞀般のPHP型(文字列, boolean, float, 敎数, NULL)ず w32api_deftype() で定矩した型です。
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のリリヌスで倉曎される可胜性がありたす。泚意を喚起するずずもに、このモゞュヌルは䜿甚者のリスクで䜿甚しお䞋さい。
This extension will only work on Windows systems.
この拡匵もじゅヌるはWindowsシステムでのみ動䜜したす。
There is no installation needed to use these functions; they are part of the PHP core.
これらの関数はPHPコアに含たれるため、䜿甚す る際にむンストヌルは䞍芁です。
This extension has no configuration directives defined in php.ini.
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
The name of this resource is "dynaparm".
この拡匵モゞュヌルは、1皮類のリ゜ヌス型を定矩し、ナヌザ定矩型で䜿 甚されたす。このリ゜ヌスの名前は、 "dynaparm" で す。
This example gets the amount of time the system has been running and displays it in a message box.
これらの定数は、この拡匵モゞュヌルで定矩されおおり、 この拡匵モゞュヌルがPHP内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
Get the uptime and display it in a message box
以䞋の䟋は、システムの実行時間を取埗し、メッセヌゞボックスに衚瀺 するものです。
vpopmail_set_user_quota
䟋 1uptimeを取埗し、メッセヌゞボックスに衚瀺する
In order to use WDDX, you will need to install the expat library (which comes with Apache 1.3.7 or higher).
以䞋の関数は、 WDDX ず組み合わせお 動䜜するこずを想定しおいたす。
The windows version of PHP The windows version of PHP has built in support for this extension.
WDDX を䜿甚するには、(Apache 1.3.7以降に付属する)expatラむブラリを むンストヌルする必芁がありたす。
This extension has no configuration directives defined in php.ini.
expatをむンストヌルした埌、 --enable-wddx を指定しおPHPを コンパむルする必芁がありたす。
All the functions that serialize variables use the first element of an array to determine whether the array is to be serialized into an array or structure.
Windows版の PHP にはこの拡匵モゞュヌルのサポヌトが組み蟌たれおいたす。これらの関数を䜿甚するために拡匵モゞュヌルを远加でロヌドする必芁はありたせん。
Example 1.
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
?php print wddx_serialize_value( "PHP to WDDX packet example", "PHP packet");?
この拡匵モゞュヌルはリ゜ヌス型を党く定矩し たせん。
wddxPacket version=' 1.0 'header comment='PHP packet' / data string PHP to WDDX packet example / string / data / wddxPacket
この拡匵モゞュヌルは定数を党く定矩したせ ん。
This example will produce:
䟋 1単䞀の倀のシリアル化
If you want to serialize non-ASCII characters you have to set the appropriate locale before doing so (see setlocale()).
この䟋は次の出力を行いたす。
Home
䟋 2パケットを远加する䟋
w32api_set_call_method
この䟋は次のような出力を行いたす。
wddx_add_vars
泚意 ASCII以倖の文字をシリアル化したい堎合、これを行う前に 適切にロケヌルを蚭定する必芁がありたす。 (setlocale() を参照しお䞋さい)
It is a standard defined by The World Wide Web consortium (W3C).
XML (eXtensible Markup Language) は、Web における構造化された ドキュメント亀換甚のデヌタフォヌマットです。XML は、World Wide Web consortium (W3C) で芏定された芏栌です。XML に関する情報およ び関連する技術は、 http://www.w3.org/XML/ で参照するこずができたす。
This PHP extension implements support for James Clark 's expat in PHP.
このPHP拡匵機胜は、James Clark氏の expat のサポヌトをPHPに付加したす。 このツヌルキットは、XML ドキュメントの構文解析をしたすが、 怜蚌は行いたせん。3皮類の゜ヌス 文字゚ンコヌディング 、 US-ASCII, ISO-8859-1, UTF-8 がPHPでサポヌトされたす。 UTF-16 はサポヌトさ れたせん。
It supports three source character encodings It supports three source character encodings also provided by PHP:
この拡匵モゞュヌルは、 XML パヌサの䜜成 を行い、異なった XML むベントに関しお ハンドラ を定矩したす。各XMLパヌサヌには、蚭定可胜な小数の パラメヌタ もありたす。
Each XML parser also has a few parameters you can adjust.
この拡匵機胜は、 expat を䜿甚したす。こ れは、 http://www.jclark.com/xml/ にありたす。 expatに付属のMakefileは、デフォルトでラむブラリを構築したせん。こ れを行うmakeルヌルを次のように指定できたす。
In order you dont 't want to use the bundled expat library configure PHP --with-expat-dir=DIR, where DIR should point to the base installation directory of expat.
Windows版の PHP にはこの拡匵モゞュヌルのサポヌトが組み蟌たれおいたす。これらの関数を䜿甚するために拡匵モゞュヌルを远加でロヌドする必芁はありたせん。
You do not need to load any additional extension in order to use these functions.
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
This extension has no resource types defined.
この拡匵モゞュヌルはリ゜ヌス型を党く定矩し たせん。
The XML event handlers defined are:
これらの定数は、この拡匵モゞュヌルで定矩されおおり、 この拡匵モゞュヌルがPHP内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
Element events are issued whenever the XML parser encounters start or end tags.
XML むベントハンドラは次のように定矩されたす。
xml_set_character_data_handler()
衚 1サポヌトされる XML ハンドラ
Note that the XML parser does not add or remove any whitespace, it is up to the application (you) to decide whether whitespace is significant.
芁玠ハンドラ関数は、その芁玠に 倧文字小文字を倉換する (case-folded) の名前を぀けるこずができたす。 倧文字倉換(case-folding) は、XML暙準により "倧文字でないものは等 䟡な倧文字に眮換される䞀連の文字に適甚されるプロセス" ずしお定矩 されおいたす。蚀い替えるず、XML に関しおは単に倧文字倉換は倧文字 にするこずを意味したす。
The handling of these are application-specific, except that all PI targets starting with "XML" are reserved.
デフォルトで、ハンドラ関数に枡される党おの芁玠名は、倧文字倉換さ れたす。この動䜜は、 xml_parser_get_option() および xml_parser_set_option() 関数でXMLパヌサヌ 毎にそれぞれ問い合わせ、制埡するこずが可胜です。
This can be a reference to a file or URL, for example.
(xml_parse() により返されるものずしお) XML゚ラヌコヌドずしお次のような定数が定矩されおいたす。:
Case-folding is defined by the XML standard as "a process applied to a sequence of characters, in which those identified as non-uppercase are replaced by their uppercase equivalents".
PHPのXML拡匵機胜は、異なった 文字゚ンコヌディング を通じお Unicode 文字セットをサポヌトしたす。 ゜ヌス゚ンコヌディング および タヌゲット゚ンコヌディング ずいう2皮類の文字゚ンコヌディングがありたす。 PHP におけるドキュメントの内郚衚珟は、垞に UTF-8 で゚ンコヌドされたす。
The following constants are defined for XML error codes (as returned by xml_parse()):
タヌゲット゚ンコヌディングは、PHPがデヌタをXMLハンドラ関数に 枡す時に行われたす。あるXMLパヌサが䜜成された際、タヌゲット゚ン コヌディングは、゜ヌス゚ンコヌディングず同様に蚭定されたす。 しかし、これは、い぀でも倉曎可胜です。タヌゲット゚ンコヌディング は、タグ名ず同様に文字デヌタに䜜甚し、呜什を凊理したす。
PHP 's XML extension supports the Unicode character set through different character encoding s.
XML パヌサが゜ヌス゚ンコヌディングが衚珟できる範囲の倖偎の文字に 出䌚った堎合、゚ラヌが返されたす。
PHP 's internal representation of the document is always encoded with UTF-8.
解釈するXMLドキュメントにおいおPHPが文字に出䌚った際に、遞択した タヌゲット゚ンコヌディングで衚珟できない文字に出䌚った堎合、問題 の文字は "降栌" されたす。珟圚、このこずはこのような文字が疑問笊 で眮換されるこずを意味したす。
Upon creating an XML parser, a source encoding can be specified (this encoding can not be changed later in the XML parser's lifetime).
以䞋にXMLドキュメントを凊理するPHPスクリプトの䟋をいく぀か瀺した す。
The former two are single-byte encodings, which means that each character is represented by a single byte.
この最初の䟋は、あるドキュメント䞭のstart ゚レメントの構造をむン デントを付けお衚瀺したす。
UTF-8 can encode characters composed by a variable number of bits (up to 21) in one to four bytes.
䟋 1XML ゚レメント構造を衚瀺
Target encoding is done when PHP passes data to XML handler functions.
䟋 2XMLをHTMLにマップする