text
stringlengths
1
254
output
stringlengths
2
255
Table 1.
これらの関数の動䜜は、 php.ini の蚭定により倉化したす。
Name
衚 1DBX蚭定オプション
"unchanged"
泚意 iniオプションは、PHP 4.3.0から利甚可胜です。
Here is a short explanation of the configuration directives.
蚭定ディレクティブに関する簡単な説明を以䞋に瀺したす。
This directive can be overridden with a flag to dbx_query().
カラム名は、倉曎されず("unchanged"の堎合)に返すか、倧文字 ("uppercase"の堎合)たたは小文字("lowercase"の堎合)に倉換するこず ができたす。このディレクティブは、 dbx_query() のフラグで䞊曞きするこずが可胜です。
The first one is the link - object for a database connection, the second a result - object which helds the result of a query.
dbxモゞュヌルでは2皮類のリ゜ヌス型がありたす。最初のリ゜ヌスは、 デヌタベヌス接続甚のリンク- object で、2番目はク゚リ結 果を保持するための結果- object です。
Prev
これらの定数は、この拡匵モゞュヌルで定矩されおおり、 この拡匵モゞュヌルがPHP内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
The use of the DIO functions should be considered only when direct control of a device is needed.
PHPは、POSIX暙準(第6ç« )に蚘述されたダむレクトIO関数をサポヌトした す。これらは、C蚀語のストリヌムI/O関数 (fopen(), fread() ,..)よりも 䜎レベルのI/O関数の実装です。 DIO関数の䜿甚は、あるデバむスを盎接制埡するこずが必芁な堎合のみ考 えるべきです。その他の堎合は、暙準の ファむルシステム 関数の方が 適圓です。
Note:
泚意 この拡匵モゞュヌルはWindows環境では利甚できたせん。
No external libraries are needed to build this extension.
これらの関数は、暙準モゞュヌルの䞀郚ず しお利甚可胜であり、垞に䜿甚できたす。
This extension has no configuration directives defined in php.ini.
以䞋の関数を動䜜させるには、 --enable-dio を指定しおPHPの configureを実行する必芁がありたす。
One resource type is defined by this extension: a file descriptor returnded by dio_open().
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
Prev
この拡匵モゞュヌルでは、1皮類のリ゜ヌス型、 dio_open() により返されるファむル蚘述子、 が定矩されおいたす。
dbplus_xunlockrel
この拡匵モゞュヌルは定数を党く定矩したせ ん。
Prev
これらの関数は、暙準モゞュヌルの䞀郚ず しお利甚可胜であり、垞に䜿甚できたす。
No external libraries are needed to build this extension.
これらの関数はPHPコアに含たれるため、䜿甚す る際にむンストヌルは䞍芁です。
There is no installation needed to use these functions; they are part of the PHP core.
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
This extension has no constants defined.
この拡匵モゞュヌルは定数を党く定矩したせ ん。
Prev
dirname(), is_dir(), mkdir(), rmdir() 等の関数 に぀いおは、 ファむルシステム の節を参照䞋さい。
Use this extension at your own risk.
このモゞュヌルは、 実隓的 なものです。これは、これらの関数の動䜜、関数名は、このドキュメントに曞かれお事項ず同様に告知なく将来的なPHPのリリヌスで倉曎される可胜性がありたす。泚意を喚起するずずもに、このモゞュヌルは䜿甚者のリスクで䜿甚しお䞋さい。
The extension still contains many old functions, but they should no longer be used.
domxml拡匵モゞュヌルは、DOM暙準に察する互換性を改善するためPHPバヌ ゞョン4.3.0で曞き盎されたした。拡匵モゞュヌルには、ただ、倚くの叀 い関数が含たれおいたすが、䜿甚は掚奚されたせん。特にオブゞェクト 指向でない関数の䜿甚は避けるべきです。
This extension makes use of the GNOME XML library.
この拡匵モゞュヌルは、 --with-dom=[DIR] を指定しおPHPã‚’èš­ 定した堎合のみ利甚可胜です。DOM XSLTサポヌトを組み蟌むには、 --with-dom-xslt[=DIR] を远加しお䞋 さい。DIRは、libxsltをむンストヌルしたディレクトリです。DOM EXSLTサ ポヌトを有効にするには、 --with-dom-exslt[=DIR] を指定した す。ただし、DIRはlibxsltをむンストヌルしたディレクトリです。
Download and install these libraries if you plan to use (enhanced XSLT features.
Win32ナヌザぞの泚意 このモゞュヌルをWindows環境で有効にするには、 libxml2.dll をPHP/Win32バむナリパッケヌゞのDLL フォルダから䜿甚するWindowsマシンのSYSTEM32フォルダ(䟋: C:\WINNT\SYSTEM32たたはC:\WINDOWS\SYSTEM32)にコピヌする必芁がありた す。
C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32)
DOM暙準に沿っおおらず、もう䜿うべきではない関数がごく少数ありたす。 これらの関数を以䞋の衚に瀺したす。 関数 DomNode_append_child() はその動䜜が倉曎さ れたした。この関数は、子を远加したすが、兄匟は远加したせん。 これにより、アプリケヌションの動䜜に圱響が生じる堎合、DOMではない 関数 DomNode_append_sibling() を䜿甚しお䞋さい。
These functions are listed in the following table.
衚 1叀い関数ずその代替関数
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内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
XML_ATTRIBUTE_ENUMERATION (integer)
衚 2XML定数
Consequently, the API is fully object-oriented.
モゞュヌルのAPIは、DOMレベル2暙準に可胜な限り基づいおいたす。結果 的にAPIは完党にオブゞェクト指向です。このモゞュヌルを䜿甚する際に DOM暙準が利甚できるこずは望たしいこずです。 このAPIはオブゞェクト指向ですが、最初の匕数ずしお凊理するオブゞェ クトを枡すオブゞェクト指向でない方法でコヌルするこずができる倚く の関数がありたす。これらの関数は、䞻に過去のバヌゞョンずの互換性 確保のために維持されおいたすが、新芏開発での䜿甚はもはや掚奚され たせん。
Though the API is object-oriented, there are many functions which can be called in a non-object-oriented way by passing the object to operate on as the first argument.
このAPIは、公匏なDOM APIずは二぀の点で異なっおいたす。たず、党お のクラスの属性は、同じ名前を有する関数ずしお実装され、関数名はPHP の呜名衚蚘に基づいおいたす。これは、DOM関数lastChild()が last_child()ず曞かれるこずを意味したす。
This API differs from the official DOM API in two ways.
このモゞュヌルは、䞀連のクラスを定矩したす。メ゜ッドも含めたリス トを以䞋の衚に瀺したす。クラスは、DOM暙準でDOMxxxずいう名前のもの ず等䟡です。
Secondly, the function names follow the PHP naming convention.
衚 3クラスの䞀芧
This module defines a number of classes, which are listed — including their method — in the following tables.
衚 4DomDocument クラス (DomDocument: DomNode)
Table 3.
衚 5DomElement クラス (DomElement: DomNode)
DomDocument_create_cdata_section()
衚 6DomNode クラス
DomDocument_create_processing_instruction()
衚 7DomAttribute クラス (DomAttribute: DomNode)
DomNode_remove_child()
衚 8DomProcessingInstruction クラス (DomProcessingInstruction: DomNode)
DomProcessingInstruction class (DomProcessingInstruction:
衚 9Parser クラス
DomComment is derived from DomCData.
衚 10XPathContext クラス
Instead of repeating this string in every example, it will be put into a file which will be included by each example.
衚 11DomDocumentType クラス (DomDocumentType: DomNode)
Alternatively, you could create an XML document and read it with DomDocument_open_file().
クラスDomDtdはDomNodeから掟生したものです。DomCommentはDomCDataか ら掟生したものです。
DomAttribute - name
䟋 1XML文字列を有するファむルexample.incを読み蟌む
Use this extension at your own risk.
このモゞュヌルは、 実隓的 なものです。これは、これらの関数の動䜜、関数名は、このドキュメントに曞かれお事項ず同様に告知なく将来的なPHPのリリヌスで倉曎される可胜性がありたす。泚意を喚起するずずもに、このモゞュヌルは䜿甚者のリスクで䜿甚しお䞋さい。
They allow you to define your own error handling rules, as well as modify the way the errors can be logged.
以䞋の関数は、゚ラヌ凊理およびログ蚘録を行いたす。これらの関数によ り、独自の゚ラヌ凊理芏則を定矩するこずが可胜になり、同時に゚ラヌの ログを蚘録する方法を修正するこずが可胜になりたす。これにより、ニヌ ズに即した゚ラヌ出力の倉曎ず拡匵が可胜になりたす。
With the logging functions, you can send messages directly to other machines, to an email (or email to pager gateway!), to system logs, etc., so you can selectively log and monitor the most important parts of your applications and websites.
ログ蚘録関数により他のマシンやemail(たたはポケベルのゲヌトり゚む に!)、システムログ等に盎接メッセヌゞを送信するこずが可胜になりたす。 これにより、ログを行うものを遞択したり、アプリケヌションやWebサむ トに最も重芁な郚分をモニタするこずが可胜になりたす。
No external libraries are needed to build this extension.
゚ラヌ出力関数により、゚ラヌのフィヌドバックのレベルず皮類、 簡単な通知からカスタマむズされた関数たで゚ラヌの際に返すもの をカスタマむズするこずが可胜になりたす。
The behaviour of these functions is affected by settings in php.ini.
これらの関数は、暙準モゞュヌルの䞀郚ず しお利甚可胜であり、垞に䜿甚できたす。
The error_reporting levels and constants are described in Predefined Constants, and in php.ini.
これらの関数はPHPコアに含たれるため、䜿甚す る際にむンストヌルは䞍芁です。
See also the display_errors directive.
これらの関数の動䜜は、 php.ini の蚭定により倉化したす。
It is extremely useful to find typos and to save time for debugging.
衚 1゚ラヌおよびロギング蚭定オプション
If it is not a constant, PHP assumes it is a string index for the array.
以䞋に蚭定ディレクティブの簡単な説明を瀺したす。
Note, however, that since constants are not supported in PHP 3' s php3.ini, the error_reporting setting there must be numeric; hence, it is 7.
゚ラヌ出力レベルを蚭定したす。パラメヌタは、あるビットフィヌルドを衚 す敎数か定数名で指定したす。このerror_reportingのレベルず定数は、 定矩枈の定数 および php.ini に蚘述されおいたす。 実行時に蚭定するには、 error_reporting() 関数を指定しお䞋さい。 display_errors ディレ クティブも参照しお䞋さい。
Even when display_errors is on, errors that occur during PHP 's startup sequence are not displayed.
PHP 4のデフォルトの蚭定では、 E_NOTICE レベル の゚ラヌは出力されたせん。開発時にはこの゚ラヌを衚瀺させたい堎合 もあるかもしれたせん。
Set the maximum length of log_errors in kbytes.
PHP 3では、 (E_ERROR _BAR_ E_WARNING _BAR_ E_PARSE) が デフォルトの蚭定で、同じこずを意味したした。しかし、PHP 3の php3.ini では定数がサポヌトされおいないため、 error_reportingの蚭定は数倀で指定する必芁があり、この堎合は、 7 ずしたす。
The default is 1024 and 0 allows to not apply any maximum length at all.
゚ラヌをHTML出力の䞀郚ずしお画面に出力するかどうかを定矩したす。
Ignore source of message when ignoring repeated messages.
display_errorsをonにした堎合でも、PHPの起動シヌケンスにおいお発 生した゚ラヌは衚瀺されたせん。デバッグ時を陀き、 display_startup_errorsをoffにしおおくこずが匷く掚奚されたす。
If this parameter is set to Off, then memory leaks will not be shown (on stdout or in the log).
゚ラヌメッセヌゞを、サヌバヌの゚ラヌログたたは error_log に蚘録するかどうかを指定 したす。このオプションはサヌバヌに䟝存したす。
If enabled, the last error message will always be present in the variable $php_errormsg.
泚意 実甚Webサむトでぱラヌ衚瀺を行う倉わりに゚ラヌを蚘録するこずを 匷く掚奚したす。
These references are affected by docref_root and docref_ext.
log_errorsの最倧長をキロバむト単䜍で蚭定したす。 error_log には、 この蚭定で情報が远加されたす。デフォルトは1024で、0を指定するず 最倧長の制限は党く適甚されなくなりたす。
In case of manual pages you can download the manual in your language and set this ini directive to the url of your local copy.
繰り返されるメッセヌゞを蚘録したせん。゚ラヌの繰り返しは、 ignore_repeated_source が trueに蚭定されるたで同じファむルの同じ行で発生したす。
Additional you have to set docref_ext to match the fileextensions of your copy docref_ext=.html.
メッセヌゞの繰り返しを無芖する堎合にメッセヌゞの゜ヌスを無芖した す。この蚭定をOnにするず、異なるファむルたたは゜ヌス行からの同じ ゚ラヌメッセヌゞの繰り返しを蚘録しなくなりたす。
Most of the time you want the docref_root value to end with a slash '/'.
このパラメヌタをOffにした堎合、(stdoutたたはログに)メモリヌリヌ クは衚瀺されなくなりたす。これは、デバッグ甚コンパむル時に error_reporting で E_WARNINGを有効にしおいる堎合のみ有効です。
On UNIX, this means syslog( 3) and on Windows NT it means the event log.
有効にした堎合、盎近の゚ラヌメッセヌゞが、 $php_errormsg 倉 数に垞に代入されたす。
This is to make it easier to find scripts that need to be rewritten to using the string concatenator instead (.).
゚ラヌメッセヌゞのHTMLタグをオフにしたす。html゚ラヌ甚の新しい圢 匏では、ナヌザが゚ラヌたたぱラヌを発生した関数を説明するペヌゞ に導くようクリック可胜なメッセヌゞを出力したす。これらのリファレ ンスは、 docref_root およ び docref_ext の蚭定に䟝存 したす。
Execution of the script is halted.
Most of the time you want the docref_root value to end with a slash '/'. But see the second example above which does not have nor need it.
Parse errors should only be generated by the parser.
docref_root を参照しお䞋さ い。
Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script.
泚意 docref_extの倀はドット '.'で始たる必芁がありたす。
This is like an E_ERROR, except it is generated by the core of PHP.
゚ラヌメッセヌゞの前に出力する文字列。
This is like an E_WARNING, except it is generated by the core of PHP.
゚ラヌメッセヌゞの埌に出力する文字列。
This is like an E_ERROR, except it is generated in PHP code by using the PHP function trigger_error().
有効な堎合、このオプションは加算挔算子( +) が文字列で䜿甚されおいる堎合に譊告を出力したす。 これにより、文字列結合挔算子(. )を甚いお曞き盎 す必芁があるスクリプトを芋付けるこずが容易になりたす。
This is like an E_WARNING, except it is generated in PHP code by using the PHP function trigger_error().
この䞀芧にある定数は、PHPコアに含たれおおり垞に利甚可胜です。
This is like an E_NOTICE, except it is generated in PHP code by using the PHP function trigger_error().
泚意 以䞋の定数を php.ini で䜿甚するこずができたすが、 httpd.conf のようなPHPの倖郚では、 代わりにビットマスク倀を䜿甚する必芁がありたす。
The above values (either numerical or symbolic) are used to build up a bitmask that specifies which errors to report.
衚 2゚ラヌずロギング
We define a error handling function which logs the information into a file (using an XML format), and e-mails the developer in case a critical error in the logic happens.
゚ラヌ凊理機胜をPHPで䜿甚するための䟋を瀺したす。ファむルに(XML圢匏 で)情報を蚘録し、論理的に臎呜的な゚ラヌの堎合開発者に電子メヌルを送 信するような゚ラヌ凊理関数を定矩したす。
Using error handling in a script
䟋 1スクリプト内での゚ラヌ凊理
Prev
syslog() も参照しお䞋さい。
Those functions provides means to executes commands on the system itself, and means secure such commands.
以䞋の関数は、システム自䜓の䞊でコマンドを実行したり、こうしたコマ ンドの安党に実行する手段を提䟛したす。
There is no installation needed to use these functions; they are part of the PHP core.
これらの関数は、暙準モゞュヌルの䞀郚ず しお利甚可胜であり、垞に䜿甚できたす。
This extension has no resource types defined.
これらの関数はPHPコアに含たれるため、䜿甚す る際にむンストヌルは䞍芁です。
These functions are also closely related to the backtick operator.
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
Prev
この拡匵モゞュヌルはリ゜ヌス型を党く定矩し たせん。
pcntl_wtermsig
この拡匵モゞュヌルは定数を党く定矩したせ ん。
escapeshellarg
以䞋の関数は、 backtick挔算子 にも関係したす。 たた、 セヌフモヌド にお いおは、 safe_mode_exec_dir ディレクティブの䜿甚を考慮する必芁があ りたす。
More information about FrontBase can be found at http: / /www.frontbase.com /.
このモゞュヌルの関数により FrontBaseデヌタベヌスサヌバにアクセスす るこずが可胜になりたす。FrontBase に関する詳现に぀いおは、 http://www.frontbase.com/ で入手可胜です。
Frontbase support has been added to PHP 4.0.6.
FrontBase に関するドキュメントは、 http://www.frontbase.com/cgi-bin/WebObjects/FrontBase.woa/wa/productsPage?currentPage=Documentation から入手可胜です。
You can get FrontBase from http: / /www.frontbase.com /.
Frontbase のサポヌトは、PHP 4.0.6 で远加されたした。
If you use this option without specifying the path to fbsql, PHP will search for the fbsql client libraries in the default installation location for the platform.
この関数を䜿甚するには、FrontBaseデヌタベヌスサヌバたたは少なくず もfbsqlクラむアントラむブラリをむンストヌルする必芁がありたす。 http://www.frontbase.com/ からFrontBaseを取埗す るこずができたす。
Table 1.
これらの関数の動䜜は、 php.ini の蚭定により倉化したす。
fbsql.default_database_password
衚 1FrontBase蚭定オプション
Prev
これらの定数は、この拡匵モゞュヌルで定矩されおおり、 この拡匵モゞュヌルがPHP内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
You should read the documentation at http: / /partners.adobe.com / asn / developer / acrosdk / forms.html for more information on what FDF is and how it is used in general.
Forms Data Format (FDF)は、PDFドキュメント内郚のフォヌムを凊理する ためのフォヌマットです。FDFの詳现および䞀般的な甚途に぀いおは、 http://partners.adobe.com/asn/developer/acrosdk/forms.html にあるドキュメン トを参照䞋さい。
If you look at an FDF-document with a text editor you will find a catalogue object with the name FDF.
http://partners.adobe.com/asn/developer/acrosdk/forms.html から取埗可胜な FDF toolkit SDKが必芁です。 PHP 4.3以降、少なくずもSDK version 5.0が必芁です。 FDF toolkit libraryは、バむナリ版のみ利甚可胜で、 Adobeによりサポヌトされおいるプラットフォヌムは、 Win32, Linux, Solaris, AIXです。
Those entries are referred to in the FDF documentation as / F-Key or / Status-Key.
--with-fdftk[=DIR] を指定しおPHPを コンパむルする必芁がありたす。
In order to enable this module on a Windows environment, you must copy fdftk.dll from the DLL folder of the PHP / Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex:
Win32ナヌザぞの泚意 Windows環境でこのモゞュヌルを有効にするには、PHP/Win32バむナリパッ ケヌゞのDLLフォルダから fdftk.dll を 䜿甚するWindowsマシンのSYSTEM32フォルダ (䟋: C:\WINNT\SYSTEM32たたは C:\WINDOWS\SYSTEM32) ぞコピヌする必芁がありたす。
This extension has no configuration directives defined in php.ini.
この拡匵モゞュヌルは蚭定ディレクティブを党く 定矩したせん。
A fdf resource is a handle to an opened fdf file. fdf resources may be obtained using fdf_create(), fdf_open() and fdf_open_string().
倚くのfdf関数は、最初のパラメヌタずしお fdf リ゜ヌスを必芁ずしたす。 fdf リ゜ヌスは、オヌプンしたfdfファむル のハンドルです。 fdf リ゜ヌスは、 fdf_create() 、 fdf_open() 、 fdf_open_string() を甚いお取埗するこずも可胜 です。
The following examples shows just the evaluation of form data.
これらの定数は、この拡匵モゞュヌルで定矩されおおり、 この拡匵モゞュヌルがPHP内郚にコンパむルされおいるか実行時に動的にロヌ ドされるかのどちらかの堎合のみ䜿甚可胜です。
Evaluating a FDF document
以䞋の䟋でフォヌムデヌタの評䟡に関しお説明したす。
BR "; if(fdf_get_value($fdf, "show_preparer") == "On") {$preparer = fdf_get_value($fdf, "preparer"); echo "The preparer field has the value 'B $preparer / B' BR";} else echo "Preparer shall not be shown.
䟋 1FDF ドキュメントの評䟡
filePro is a registered trademark of fP Technologies, Inc.
これらの関数により、filePro デヌタベヌスに保存されたデヌタに 読み蟌みのみのアクセスが可胜になりたす。
filePro support in PHP is not enabled by default.
filePro は、fP Technologies 瀟の登録商暙です。filePro に関する詳现な情報は http://www.fptech.com/ で埗る事が出来たす。