text
stringlengths 1
254
| output
stringlengths 2
255
|
---|---|
Those two disappeared when Hyperwave was commercialised.
|
屿§ PresentationHints ã FullCollectionHead ã§ãããªããžã§ã¯ã ã¬ã³ãŒãã®æ°
|
The wavemaster implements a set of placeholders for certain actions to customise the interface.
|
屿§ PresentationHints ã CollectionHead ã§ãããªããžã§ã¯ã ã¬ã³ãŒãã®é
åã®ã€ã³ããã¯ã¹
|
PLACE lacks a lot of features of a real programming language and any extension to it only enlarges the list of placeholders.
|
屿§ PresentationHints ã FullCollectionHead ã§ãããªããžã§ã¯ã ã¬ã³ãŒãã®é
åã®ã€ã³ããã¯ã¹
|
Adding Hyperwave support to PHP should fill in the gap of a missing programming language for interface customisation.
|
Total: ãªããžã§ã¯ãã¬ã³ãŒãã®æ°
|
Hyperwave has its own terminology to name certain pieces of information.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ãHyperwaveãµãŒããŒãå¿
èŠãšããŸãããã®ãµãŒã㌠ã¯ã http://www.hyperwave.com/ ã§ããŠã³ ããŒãå¯èœã§ãã
|
An object record can easily be converted into an object array with hw_object2array().
|
HyperwaveãµããŒããæå¹ã«ããã«ã¯ã --with-hyperwave ãæå®ããŠPHPãã³ ã³ãã€ã«ããå¿
èŠããããŸãã
|
Attributes which are language depended (like the title, keyword, description) will form an associative array with the keys set to the language abbreviations.
|
Hyperwave ã¢ãžã¥ãŒã«ã¯ãPHP ã Apache ã¢ãžã¥ãŒã«ãšããŠã³ã³ãã€ã« ãããå Žåã«ãæé©åãããŠããŸãã ãã®å ŽåãApache ãæžãæããšã³ãžã³ã䜿çšããå Žåãå
éšã® Hyperwave ãµãŒããŒãã»ãŒå®å
šã«ãŠãŒã¶ãŒããé ãããšãå¯èœã§ãã 以äžã®æé ã«ãããã®ããšã説æããŸãã
|
Number of object records with attribute PresentationHints set to Hidden.
|
ãªããžã§ã¯ãèªèº«ãè¿ã
|
Number of object records with attribute PresentationHints set to FullCollectionHead.
|
æ€çŽ¢ãèš±å¯ãã
|
Index in array of object records with attribute PresentationHints set to FullCollectionHead.
|
èªåãå®çŸ©ãã
|
To enable Hyperwave support compile PHP --with-hyperwave.
|
ãããã¡ã€ã«ãèšå®ãã
|
In such a case the underlying Hyperwave server can be hidden from users almost completely if Apache uses its rewriting engine.
|
ãªããžã§ã¯ã屿§ã衚瀺ãããããŠãŒã¶ãŒã«é¢ããæ
å ±ã衚瀺ãããã ãµãŒããŒã®ã¹ããŒã¿ã¹ã衚瀺ãããçãã远å ããã颿°æ¯ã«äžã€
|
This is not necessary but it simplifies the configuration.
|
Rewrite Engineã®äžã€ã®ä»£ãããšããŠãApache ErrorDocument ãã£ã¬ã¯ãã£ãã䜿çšããããšãã§ ããŸãããããã ErrorDocument ã§ãªãã€ã¬ã¯ãã ããããŒãžã¯ãPOSTããŒã¿ãåãåãããšã¯ã§ããªãããšã«æ³šæããŠäž ããã
|
Let' s call this script'Hyperwave '.
|
ãããã®é¢æ°ã®åäœã¯ã php.ini ã®èšå®ã«ããå€åããŸãã
|
Depending on the type of the object the script has to react accordingly.
|
衚 1Hyperwaveèšå®ãªãã·ã§ã³
|
If it is a document it will return the mime type and the content.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ãªãœãŒã¹åãå
šãå®çŸ©ã ãŸããã
|
From the users point of view it would be more straight forward if the URL http: / /your.hostname / name_of_object From the users point of view it would be more straight forward if the URL http: / /your.hostname / name_of_object would return the object.
|
ãããã®å®æ°ã¯ããã®æ¡åŒµã¢ãžã¥ãŒã«ã§å®çŸ©ãããŠããã ãã®æ¡åŒµã¢ãžã¥ãŒã«ãPHPå
éšã«ã³ã³ãã€ã«ãããŠãããå®è¡æã«åçã«ã㌠ãããããã®ã©ã¡ããã®å Žåã®ã¿äœ¿çšå¯èœã§ãã
|
RewriteRule ^ / (.*) / usr / local / apache / htdocs / HyperWave / $1 [L]
|
ãŸã ããã¹ãããšãããã€ããããŸãã
|
RewriteEngine on
|
hw_InsertDocument ã¯ã hw_insertobject() ãš hw_putdocument() ã«åå²ããå¿
èŠããããŸãã
|
to allow searching
|
ããã€ãã®é¢æ°ã®ååã¯ãŸã ä¿®æ£ãããŠããŸããã
|
As an alternative to the Rewrite Engine, you can also consider using the Apache ErrorDocument directive, but be aware, that ErrorDocument redirected pages cannot receive POST data.
|
å€ãã®é¢æ°ã¯æåã®ãã©ã¡ãŒã¿ãšããŠçŸåšã®æ¥ç¶ ID ã å¿
èŠãšããŸããããã«ããå
¥åãå€ããã€é »ç¹ã«ãªã£ãŠãŸããã äžã€ã ãã®æ¥ç¶ããªãŒãã³ããŠããå Žåã«ã¯å¿
èŠãªãã¯ãã§ãã ããã©ã«ãæ¥ç¶ã®å°å
¥ã«ããæ¹åãããèŠèŸŒã¿ã§ãã
|
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.
|
å€é屿§ãåŠçããã«ã¯ããªããžã§ã¯ãã¬ã³ãŒããããªããžã§ã¯ãé
åãžã®å€ææ©èœãå¿
èŠã§ãã
|
More information about InterBase is available at http: / /www.interbase.com /.
|
InterBaseã¯Borland/InpriseãéçºããæåãªããŒã¿ããŒã¹ã§ãã InterBaseã«é¢ããè©³çŽ°ãªæ
å ±ã¯ã http://www.interbase.com/ ããåŸãããšãã§ããŸãã ãšããã§ãInterBaseã¯ãªãŒãã³ãœãŒã¹éåã«å ãããŸããïŒ
|
This database uses a single quote (') character for escaping, a behavior similar to the Sybase database, add to your php.ini the following directive:
|
泚æ InterBase 6ã®å®å
šãªãµããŒããPHP 4.0ã§è¿œå ãããŸããã
|
To enable InterBase support configure PHP --with-interbase[ =DIR], where DIR is the InterBase base install directory, which defaults to / usr / interbase.
|
ãã®ããŒã¿ããŒã¹ã¯ãã·ã³ã°ã«ã¯ãªãŒã(')æåããšã¹ã±ãŒãã«äœ¿çšã㟠ãããã®åäœã¯SybaseããŒã¿ããŒã¹ã«äŒŒãŠããã以äžã®ãã£ã¬ã¯ãã£ã ã php.ini ã«è¿œå ããŠäžããã
|
In order to enable this module on a Windows environment, you must copy gds32.dll from the DLL folder of the PHP / Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex:
|
PHPã§InterBaseãµããŒããæå¹ã«ããã«ã¯ã --with-interbase[=DIR] ãæå®ããŠèš å®ãè¡ããŸãããã ããDIRã¯InterBaseã®ããŒã¹ã€ã³ã¹ããŒã«ãã£ã¬ã¯ã㪠ã§ãããã©ã«ã㯠/usr/interbase ã§ãã
|
The behaviour of these functions is affected by settings in php.ini.
|
ãããã®é¢æ°ã®åäœã¯ã php.ini ã®èšå®ã«ããå€åããŸãã
|
"%m / %d / %Y%H:%M:%S"
|
衚 1InterBaseèšå®ãªãã·ã§ã³
|
Prev
|
ãããã®å®æ°ã¯ããã®æ¡åŒµã¢ãžã¥ãŒã«ã§å®çŸ©ãããŠããã ãã®æ¡åŒµã¢ãžã¥ãŒã«ãPHPå
éšã«ã³ã³ãã€ã«ãããŠãããå®è¡æã«åçã«ã㌠ãããããã®ã©ã¡ããã®å Žåã®ã¿äœ¿çšå¯èœã§ãã
|
The iconv library functions convert strings between various character sets encodings.
|
ãã®ã¢ãžã¥ãŒã«ã«ã¯ãiconvã©ã€ãã©ãªé¢æ°ãžã®ã€ã³ã¿ãŒãã§ãŒã¹ãå«ãŸã ãŠããŸãã iconvã©ã€ãã©ãªé¢æ°ã¯ãçš®ã
ã®ãšã³ã³ãŒãã£ã³ã°ã§ãšã³ã³ãŒãããããã¡ ã€ã«ã®æåéåãçžäºã«å€æããŸãããµããŒããããæåéåã¯ãã·ã¹ãã ã®iconv()ã®å®è£
ã«äŸåããŸããããã€ãã®ã·ã¹ãã ã§ã¯iconv()颿°ã¯æå³ ããéãã«åäœããªãå¯èœæ§ããããŸãããã®å Žåãlibiconvã©ã€ãã©ãªã ã€ã³ã¹ããŒã«ããå¿
èŠããããŸãã
|
Note that the iconv() function on some systems may not work as well as you expect.
|
iconv()颿°ãæšæºCã©ã€ãã©ãªã«ååšããããã·ã¹ãã ã«libiconvãã€ã³ ã¹ããŒã«ãããŠããå¿
èŠããããŸãã libiconv ã©ã€ãã©ãªã¯ã http://www.gnu.org/software/libiconv/ ã§å
¥æå¯èœã§ãã
|
Your systems standard C library must provide the iconv() function or you must have libiconv installed on your system.
|
ãã®é¢æ°ã䜿çšããã«ã¯ãPHPã€ã³ã¿ããªã¿ãã³ã³ãã€ã«ããé ã« --with-iconv[=DIR] ãä»ããŠã³ã³ã ã€ã«ãããå¿
èŠããããŸãã
|
To be able to use the functions defined in this module you must compile your PHP interpreter using the configure line --with-iconv[ =DIR].
|
Win32ãŠãŒã¶ãžã®æ³šæ Windowsç°å¢ã§ãã®ã¢ãžã¥ãŒã«ãæå¹ã«ããã«ã¯ãPHP/Win32ãã€ããªãã ã±ãŒãžã®DLLãã©ã«ããã iconv-1.3.dll ã 䜿çšããWindowsãã·ã³ã®SYSTEM32ãã©ã«ã (äŸ: C:\WINNT\SYSTEM32ãŸã㯠C:\WINDOWS\SYSTEM32) ãžã³ããŒããå¿
èŠããããŸããPHP 4.2.1以éããã®ååã¯ã iconv.dll ã«å€æŽãããŸããã
|
In order to enable this module on a Windows environment, you must copy iconv-1.3.dll from the DLL folder of the PHP / Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex:
|
ãããã®é¢æ°ã®åäœã¯ã php.ini ã®èšå®ã«ããå€åããŸãã
|
Starting with PHP 4.2.1 the name changed to iconv.dll
|
衚 1iconvèšå®ãªãã·ã§ã³
|
Table 1.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ãªãœãŒã¹åãå
šãå®çŸ©ã ãŸããã
|
Since PHP 4.3.0 it is possible to identify at runtime which iconv implementation is adopted by this extension.
|
Since PHP 4.3.0 it is possible to identify at runtime which iconv implementation is adopted by this extension.
|
constant
|
衚 2iconv constants
|
Writing implementation-dependent scripts with these constants should be discouraged.
|
泚æ Writing implementation-dependent scripts with these constants should be discouraged.
|
Prev
|
GNU Recode 颿° ãåç
§ããŠäžããã
|
Configuration notes:
|
èšå®ã«é¢ããæ³šæ PHP Informix ãã©ã€ããã³ã³ãã€ã«ããã«ã¯ãäœããã®ããŒãžã§ã³ã®ESQL/C ãå¿
èŠã§ãã7.2x以éã®ããŒãžã§ã³ã«ä»å±ããESQL/Cã¯åé¡ãªã䜿çšã§ããŸãã çŸåšã§ã¯ãESQL/Cã¯Informixã¯ã©ã€ã¢ã³ãSDKã«å«ãŸããŠããŸãã
|
ESQL / C versions from 7.2x on should be OK.
|
"configure" ã¹ã¯ãªãããå®è¡ããåã«ãå¿
ã"INFORMIXDIR" 倿°ãèšå®ãã PATHã«$INFORMIXDIR/bin ãèšå®ããŠãããŠãã ããã
|
To be able to use the functions defined in this module you must compile your PHP interpreter using the configure line --with_informix[ =DIR], where DIR is the Informix base install directory, defaults to nothing.
|
ãã®ã¢ãžã¥ãŒã«ã§å®çŸ©ãã颿°ã䜿çšå¯èœãšããã«ã¯ãconfigureã« --with_informix[=DIR] ãæå®ã㊠PHPã€ã³ã¿ããªã¿ãã³ã³ãã€ã«ããå¿
èŠããããŸãããã ããDIR㯠Informixã®ããŒã¹ã€ã³ã¹ããŒã«ãã£ã¬ã¯ããªã§ãããã©ã«ãã¯ãããŸããã
|
Note:
|
ãããã®é¢æ°ã®åäœã¯ã php.ini ã®èšå®ã«ããå€åããŸãã
|
The Informix shared libraries should also be available to the loader (check LD_LIBRARY_PATH or ld.so.conf / ldconfig).
|
ãŸããInformixå
±æã©ã€ãã©ãªãããŒããŒã§å©çšå¯èœã§ããå¿
èŠããããŸãã (LD_LINBRARY_PATHãŸãã¯ld.so.conf/ldconfigã確èªããŠäžãã)
|
If you prefer to receive the content of BLOB columns in a file, use "ifx_blobinfile(1) ;", and "ifx_get_blob($blob_id);" will get you the filename.
|
insert/update ã¯ãšãªãŒã«é¢ããŠã¯ã "ifx_create_blob(..);" ã«ããèªåã§ "blob id" ãäœæããå¿
èŠããããŸãã ãã®åŸãblob id ãé
åã«ä»£å
¥ãã ã¯ãšãªãŒæååã®äžã® blob ã«ã©ã ãçå笊 (?) ã§çœ®æããŸãã updates/inserts ã®å Žåã ifx_update_blob() ã§blob ã®å
容ãèšå®ããã®ã䟿å©ã§ãããã
|
For insert / update queries you must create these "blob id's" yourself with "ifx_create_blob();".
|
BLOB ã«ã©ã ã®åäœã¯ãèšå®çšå€æ°ã§å€æŽããããšãã§ããŸãã ãããã®å€æ°ã¯ãå®è¡æã«ãèšå®å¯èœã§ãã
|
You then plug the blob id' s into an array, and replace the blob columns with a question mark (?) in the query string.
|
èšå®å€æ°: ifx.textasvarchar
|
For updates / inserts, you are responsible for setting the blob contents with ifx_update_blob().
|
èšå®å€æ°: ifx.byteasvarchar
|
The behaviour of BLOB columns can be altered by configuration variables that also can be set at runtime:
|
ã©ã³ã¿ã€ã 颿°:
|
configuration variable: ifx.byteasvarchar
|
ifx_textasvarchar(0): TEXT ã«ã©ã ãæãã select ã¯ãšãªãŒã« blob id ã䜿çšãã columns
|
ifx_textasvarchar( 0): use blob id's for select queries with TEXT columns
|
ifx_byteasvarchar(0): BYTE ã«ã©ã ãæãã select ã¯ãšãªãŒã« blob id ã䜿çšãã columns
|
ifx_textasvarchar( 1): return TEXT columns as if they were VARCHAR columns, so that you don't need to use blob id's for select queries.
|
ifx_textasvarchar(1): TEXTã«ã©ã ãVARCHARã«ã©ã ãšããŠè¿ããŸãã ãã®ãããselectã¯ãšãªãŒã«ãããŠblob idã䜿çšããå¿
èŠã¯ãããŸããã
|
configuration variable: ifx.blobinfile
|
ifx_byteasvarchar(1): BYTEã«ã©ã ãVARCHARã«ã©ã ãšããŠè¿ããŸãã ãã®ãããselectã¯ãšãªãŒã«ãããŠblob idã䜿çšããå¿
èŠã¯ãããŸããã
|
runtime function:
|
èšå®å€æ°: ifx.blobinfile
|
ifx_blobinfile_mode( 0): return BYTE columns in memory, the blob id lets you get at the contents.
|
ã©ã³ã¿ã€ã 颿°:
|
If you set ifx_text / byteasvarchar to 1, you can use TEXT and BYTE columns in select queries just like normal (but rather long) VARCHAR fields.
|
ifx_blobinfile_mode(0): ã¡ã¢ãªãŒã« BYTE ã«ã©ã ãè¿ã, blob id ã«ã ããã®å
容ãåãåºã
|
It is up to you to handle this correctly.
|
ifx_blobinfile_mode(1): ã¢ãªãŒã« BYTE ã«ã©ã ãè¿ã, blob id ã«ã ããã®ãã¡ã€ã«åãåãåºã
|
If you set ifx_blobinfile to 1, use the file name returned by ifx_get_blob(..) to get at the blob contents.
|
ifx_text/byteasvarchar ã 1 ã«èšå®ããå Žåã éåžžã®(ãããããé·ã) VARCHAR ãã£ãŒã«ãã®ããã« select ã¯ãšãªãŒã§ TEXT ã BYTE ã«ã©ã ã䜿çšããããšãå¯èœã§ãã å
šãŠã®æååã¯ãPHP ã§ "æ°ãããã" ã®ã§ãããã«ããã"ãã€ããªã»ã»ãŒ ã"ãç¶æãããŸãã ãããæ£ããåŠçããã®ã¯ããªã次第ã§ãã è¿ãããããŒã¿ã«ã¯äœã§ãå«ãããšãã§ããŸããããã®å
容ã«ã€ã㊠責任ãè² ãããšã«ãªããŸãã
|
Every new row fetched will create new temporary files for every BYTE column.
|
ifx_blobinfile ã 1 ã«èšå®ããå Žåãblob ã®å
容ãåŸãããã« ifx_get_blob(..) ã«ããè¿ããããã¡ã€ã«åã䜿çšããŠäžããã ãã®å Žåãè¡ãååŸããéã« Informix ã«ããäœæããããã³ãã©ãªãã¡ã€ã« ãåé€ãã責任ããããŸããååŸãããæ°èŠã®è¡ã¯ãBYTE ã«ã©ã æ¯ã«æ° èŠã®ãã³ãã©ãªãã¡ã€ã«ãäœæããŸãã
|
Something like: putenv( blobdir=tmpblob"); will ease the cleaning up of temp files accidentally left behind (their names all start with "blb").
|
ãã³ãã©ãªãã¡ã€ã«ã®äœçœ®ã¯ãç°å¢å€æ° "blobdir" ã«ããèšå®ããããš ãã§ããŸããããã©ã«ãã¯ã"." (ã«ã¬ã³ããã£ã¬ã¯ããª)ã§ãã putenv(blobdir="tmpblob"); ã®ããã«ããããšã«ããã誀ã£ãŠæ®ã£ãŠã ãŸã£ããã³ãã©ãªãã¡ã€ã«ãåé€ããããšã容æã«ãªããŸãã(ãã³ãã© ãªãã¡ã€ã«ã®åå㯠"blb" ã§å§ãŸããŸã)
|
This can be set with the configuration variable
|
èªåçã« "char" (SQLCHAR ããã³ SQLNCHAR) ããŒã¿ãåãå»ã ããã¯ã次ã®èšå®å€æ°ã«ããèšå®ããããšãå¯èœã§ãã
|
NULL values:
|
ifx.charasvarchar: æåŸå°Ÿã®ã¹ããŒã¹ãäœããã®åé€åŠçãè¡ããã« èªåçã«åãå»ãå Žåã«1ã«èšå®ããŸãã
|
This allows you to discriminate between NULL columns and empty columns.
|
NULL å€ èšå®å€æ° ifx.nullformat (ããã³ã©ã³ã¿ã€ã 颿° ifx_nullformat()) ã TRUE ã«èšå®ããå Žåãæåå "NULL" ãšã㊠NULL ã«ã©ã ãè¿ããŸãã FALSE ã«èšå®ããå Žåã¯ç©ºæå åãè¿ããŸããããã«ããã NULL ã«ã©ã ãšç©ºã®ã«ã©ã ãèå¥ããããšã å¯èœãšãªããŸãã
|
Informix configuration options
|
衚 1Informixèšå®ãªãã·ã§ã³
|
ifx.max_persistent
|
以äžã«èšå®ãã£ã¬ã¯ãã£ãã®ç°¡åãªèª¬æã瀺ããŸãã
|
ifx.default_password
|
æç¶æ§ã®ããInformixæ¥ç¶ãå¯èœãšãããã©ããã
|
Here is a short explanation of the configuration directives.
|
ããã»ã¹æ¯ã®æç¶æ§ã®ããInformixæ¥ç¶ã®æå€§æ°ã
|
The maximum number of persistent Informix connections per process.
|
æç¶çæ¥ç¶ãå«ãããã»ã¹æ¯ã®Informixæ¥ç¶ã®æå€§æ°ã
|
The default host to connect to when no host is specified in ifx_connect() or ifx_pconnect().
|
ifx_connect() ãŸã㯠ifx_pconnect() ã«ãããŠãã¹ããæå®ãããªãå Ž åã®ããã©ã«ãã®ãã¹ãã safe mode ã§ã¯é©çšãã ãŸããã
|
The default user id to use when none is specified in ifx_connect() or ifx_pconnect().
|
ifx_connect() ãŸã㯠ifx_pconnect() ã«ãããŠãŠãŒã¶ãŒãæå®ãããªã å Žåã®ããã©ã«ãã®ãŠãŒã¶ãŒã safe mode ã§ã¯é©çšãã ãŸããã
|
The default password to use when none is specified in ifx_connect() or ifx_pconnect().
|
ifx_connect() ãŸã㯠ifx_pconnect() ã«ãããŠãã¹ã¯ãŒããæå®ãã㪠ãå Žåã®ããã©ã«ãã®ãã¹ã¯ãŒãã safe mode ã§ã¯é©çšãã ãŸããã
|
Set to TRUE if you want to return blob columns in a file, FALSE if you want them in memory.
|
ãããã¡ã€ã«ã«blobã«ã©ã ãè¿ãããå Žåã«ã¯ TRUE ãæå®ããŸããã¡ ã¢ãªå
ã«è¿ãããå Žåã«ã¯ FALSE ãæå®ããŸãã ifx_blobinfile_mode() ã«ããããã®èšå®ãå®è¡ æã«äžæžãããããšãã§ããŸãã
|
Set to TRUE if you want to return TEXT columns as normal strings in select statements, FALSE if you want to use blob id parameters.
|
selectæã«ãããŠTEXTã«ã©ã ãéåžžã®æååãšããŠè¿ãããå Žå㯠TRUE ãæå®ããblob idãã©ã¡ãŒã¿ã䜿çšãããå Žåã¯ã FALSE ãæ å®ããŸãã ifx_textasvarchar() ã«ããããã®èšå®ãå®è¡ æã«äžæžãããããšãã§ããŸãã
|
Set to TRUE if you want to return BYTE columns as normal strings in select queries, FALSE if you want to use blob id parameters.
|
selectæã«ãããŠBYTEã«ã©ã ãéåžžã®æååãšããŠè¿ãããå Žå㯠TRUE ãæå®ããblob idãã©ã¡ãŒã¿ã䜿çšãããå Žåã¯ã FALSE ãæ å®ããŸãã ifx_byteasvarchar() ã«ããããã®èšå®ãå®è¡ æã«äžæžãããããšãã§ããŸãã
|
Set to TRUE if you want to trim trailing spaces from CHAR columns when fetching them.
|
ååŸæã«CHARã«ã©ã ããæ«å°Ÿã®ç©ºçœãåãé€ãããå Žåã« TRUE ãæå® ããŠäžããã
|
You can override this setting at runtime with ifx_nullformat().
|
ãªãã©ã«æåå" NULL "ãšã㊠NULL ã«ã©ã ãè¿ãããå Žåã« TRUE ã ç©ºã®æååãšããŠè¿ãããå Žå㯠FALSE ãæå®ããŠäžããã ifx_nullformat() ã«ããããã®èšå®ãå®è¡ æã«äžæžãããããšãã§ããŸãã
|
Prev
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯å®æ°ãå
šãå®çŸ©ããŸã ãã
|
You will need to compile PHP with the GD library of image functions for this to work.
|
PHPã®ã€ã¡ãŒãžé¢æ°ã«ãã JPEG ã GIF ã PNG ã SWF ã TIFF ã JPEG2000 ã€ã¡ãŒãžã® 倧ãããç¥ãããšãã§ããŸãã
|
You can use the image functions in PHP to get the size of JPEG, GIF, PNG, SWF, TIFF and JPEG2000 images.
|
泚æ ã€ã¡ãŒãžã®èªã¿èŸŒã¿ãæžã蟌ã¿ãä¿®æ£ã®æ©èœã®æ¡åŒµãããžã¿ã«ã«ã¡ã© ã«ããæ®åœ±ãããç»åã®ã¡ã¿ããŒã¿ãèªã¿èŸŒãã«ã¯ãèŠæ±ã®ç¯ãèªã ã§äžããã
|
If you have the GD library (available at http: / /www.boutell.com / gd /) you will also be able to create and manipulate images.
|
GD ã©ã€ãã©ãª( http://www.boutell.com/gd/ ã§ååŸå¯èœ)ãããã°ãç»åã®äœæãšæ äœãè¡ãªãããšãã§ããŸãã
|
Versions of GD older than gd-1.6 support GIF format images, and do not support PNG, where versions greater than gd-1.6 support PNG, not GIF.
|
æäœã§ããã€ã¡ãŒãžã®åœ¢åŒã¯ãã€ã³ã¹ããŒã«ãããŠãã GD ãšãããã®ã€ã¡ãŒãžãã©ãŒãããã«ã¢ã¯ã»ã¹ãã ããã« GD ãå¿
èŠãšãããã®ä»ã®ã©ã€ãã©ãªã«äŸåã ãŸããgd-1.6ããåã®ããŒãžã§ã³ã®gdã¯ãGIFã€ã¡ãŒãžç»åããµããŒãã ãŠããŸãããPNGã¯ãµããŒãããŠããŸãããäžæ¹ãgd-1.6以éã®ããŒãžã§ ã³ã¯PNGããµããŒãããGIFã¯ãµããŒãããŠããŸããã
|
You may wish to enhance GD to handle more image formats.
|
泚æ PHP 4.3以éãGD libã®ä»å±çãä»å±ããŠããŸãããã®ä»å±çã«ã¯Î±ã ã¬ã³ãã£ã³ã°ã®ãããªããã€ãã®æ©èœã远å ãããŠããŸãã ãã®çã®ã³ãŒãã¯ããã管çãè¡ãå±ããå®å®ããŠããããã å€éšã©ã€ãã©ãªã®ä»£ããã«äœ¿çšãããã¹ãã§ãã
|
Read-only GIF support is available with PHP 4.3.0 and the bundled GD-library.
|
ããå€ãã®ã€ã¡ãŒãžåœ¢åŒãåŠçããããã«GDãæ¡åŒµããããšæãããã ããŸããã
|
Only supported in GD versions greater than gd-1.6.
|
衚 1ãµããŒããããã€ã¡ãŒãžåœ¢åŒ
|
It 's likely you have this library already available, if your system has an installed X-Environment.
|
å¥ã®çš®é¡ã®ãã©ã³ããåŠçã§ããããã«GDãæ¡åŒµããããšæããããã ãŸããã以äžã«ãµããŒãããããã©ã³ãã©ã€ãã©ãªã瀺ããŸãã
|
The following font libraries are supported:
|
衚 2ãµããŒãããããã©ã³ãã©ã€ãã©ãª
|
This way you can read meta data generated by digital cameras as mentioned above.
|
--enable-exif ãæå®ããŠPHPãã³ ã³ãã€ã«ããå Žåã JPEG ããã³ TIFF ã€ã¡ãŒãžã®ãããã«æ ŒçŽãããæ
å ±ãåŠçãã ããšãã§ããããã«ãªããŸããããã«ããã以äžã«ç€ºãããã«ããžã¿ã« ã«ã¡ã©ã«ããçæãããã¡ã¿ããŒã¿ãèªãããšãã§ããããã«ãªããŸãã 以äžã®é¢æ°ã¯ã GD ã©ã€ãã©ãªãå¿
èŠãšããŸããã
|
To use the recommended bundled version of the GD library configure --with-gd.
|
泚æ PHPã¯ãexifã¢ãžã¥ãŒã«çšã®ã©ã€ãã©ãªã®è¿œå ãå¿
èŠãšããŸããã
|
Enhance the capabilities of GD to handle more image formats by specifying the --with-XXXX configure switch to your PHP configure line.
|
PHPã§GDãµããŒããæå¹ã«ããã«ã¯ãconfigure ã« --with-gd[=DIR] ãæå®ããŸãããã ããDIR㯠GDã®ããŒã¹ã€ã³ã¹ããŒã«ãã£ã¬ã¯ããªã§ãã To use the recommended bundled version of the GD library configure --with-gd.
|
Note, libpng requires the zlib library, therefore add --with-zlib-dir[ =DIR] to your configure line.
|
Enhance the capabilities of GD to handle more image formats by specifying the --with-XXXX configure switch to your PHP configure line.
|
To enable support for xpm add --with-xpm-dir=DIR.
|
衚 3Supported image formats
|
Enhance the capabilities of GD to deal with different fonts by specifying the --with-XXXX configure switch to your PHP configure line.
|
Enhance the capabilities of GD to deal with different fonts by specifying the --with-XXXX configure switch to your PHP configure line.
|
Native TrueType string function
|
衚 4Supported font libraries
|
The behaviour of these functions is affected by settings in php.ini.
|
ãããã®é¢æ°ã®åäœã¯ã php.ini ã®èšå®ã«ããå€åããŸãã
|
This is done by first decoding the comment using the specified characterset.
|
Exifã¯ãã¢ãžã¥ãŒã« mbstring ãå©çš å¯èœãªå Žåã«ãUnicodeãšãŠãŒã¶ã³ã¡ã³ãã®JISæåãšã³ã³ãŒãã£ã³ã°ã®å€æã èªåçã«ãµããŒãããŸããããã¯ãæå®ãããæåã»ãããçšããŠãŸãã³ã¡ ã³ãããã³ãŒãããããšã«ããè¡ãªãããŸããæ¬¡ã«ãã®çµæã¯ HTTP åºåã«ãããããä»ã®æåã»ããã«ãšã³ã³ãŒããããŸãã
|
Table 5.
|
衚 5Exif èšå®ãªãã·ã§ã³
|
Here is a short explanation of the configuration directives.
|
以äžã«èšå®ãã£ã¬ã¯ãã£ãã«é¢ããç°¡åãªèª¬æã瀺ããŸãã
|
This defaults to ISO-8859-15 which should work for most non asian countries.
|
exif.encode_unicode ã¯ãUNICODEãŠãŒã¶ã³ã¡ã³ã ãåŠçãããæåã»ãããå®çŸ©ããŸããISO-8859-15ãããã©ã«ããšãªã£ ãŠãããã¢ãžã¢åãé€ãå€ãã®å°åã§ã¯åäœããã¯ãã§ãã ãã®èšå®å€ã¯ç©ºãŸãã¯mbstringã§ãµããŒãããããšã³ã³ãŒãã£ã³ã° ãšããããšãã§ããŸãã空ã®å Žåãmbstringã®ã«ã¬ã³ãã® å
éšãšã³ã³ãŒãã£ã³ã°ã䜿çšãããŸãã
|
This setting cannot be empty but you can specify a list of encodings supported by mbstring.
|
exif.decode_unicode_motorola ã¯ãã€ã¡ãŒãžã ã¢ãããŒã©ãã€ããªãŒã(ããã°ã€ã³ãã£ã¢ã³)ã®å Žåã«ã Unicodeãšã³ã³ãŒãããããŠãŒã¶ã³ã¡ã³ãã®ã€ã¡ãŒãžã®å
éšæå ã»ãããå®çŸ©ããŸãã ãã®èšå®å€ã¯ç©ºãšããããšãã§ããŸããããmbstringã§ãµããŒãããã ãšã³ã³ãŒãã£ã³ã°ã®ãªã¹ããæå®ãããšããããšãã§ããŸãã ããã©ã«ãã¯ãããã©ã«ãã¯ãUCS-2BEã§ãã
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.