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ã«ããããã
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.