text
stringlengths 1
254
| output
stringlengths 2
255
|
---|---|
More information regarding CrackLib along with the library can be found at http: / /www.users.dircon.co.uk / ~crypto /.
|
CrackLibã«é¢ããããè©³çŽ°ãªæ
å ±ã¯ã http://www.users.dircon.co.uk/~crypto/ ã«ãããŸãã
|
The behaviour of these functions is affected by settings in php.ini.
|
ãããã®é¢æ°ã䜿çšããã«ã¯ã --with-crack[=DIR] ãªãã·ã§ã³ã« ããCrackãµããŒããæå¹ã«ããŠPHPãã³ã³ãã€ã«ããå¿
èŠããããŸãã
|
Crack configuration options
|
ãããã®é¢æ°ã®åäœã¯ã php.ini ã®èšå®ã«ããå€åããŸãã
|
Default
|
衚 1Crackèšå®ãªãã·ã§ã³
|
crack.default_dictionary
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ãªãœãŒã¹åãå
šãå®çŸ©ã ãŸããã
|
This extension has no resource types defined.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯å®æ°ãå
šãå®çŸ©ããŸã ãã
|
This example shows how to open a CrackLib dictionary, test a given password, retrieve any diagnostic messages, and close the dictionary.
|
以äžã®äŸã¯ãCrackLibèŸæžããªãŒãã³ããæ¹æ³ã瀺ããŠãããæå®ããã ã¹ã¯ãŒãã詊éšããè§£æã¡ãã»ãŒãžãååŸããèŸæžãéããŸãã
|
CrackLib example
|
äŸ 1CrackLibã®äŸ
|
Prev
|
泚æ crack_check() ã¯ã TRUE ãè¿ãã crack_getlastmessage() 㯠'strong password'ãè¿ ããŸãã
|
The functions provided by this extension check whether a character or string falls into a certain character class according to the current locale (see also setlocale()).
|
以äžã®é¢æ°ã¯ãçŸåšã®ãã±ãŒã«( setlocale() ãåç
§) ã«åºã¥ãæåãŸãã¯æååãããæåã¯ã©ã¹ã«å«ãŸãããã©ããã調㹠ãŸãã
|
When called with an integer argument these functions behave exactly like their C counterparts from ctype.h.
|
æŽæ°ã®åŒæ°ãæå®ããŠã³ãŒã«ããå Žåããããã®é¢æ°ã¯ãCã®ååã®é¢æ° ãšå
šãåæ§ã«åäœããŸãã
|
When called with an empty string the result will always be TRUE.
|
æåååŒæ°ãæå®ããŠã³ãŒã«ããå Žåããããã®é¢æ°ã¯ããã®æååã®å
š ãŠã®æåã調ã¹ããã®æååã®å
šãŠã®æåãèŠæ±ãããåºæºã«äžèŽããå Ž åã«ã®ã¿ TRUE ãè¿ããŸãã
|
None besides functions from the standard C library which are always available.
|
æååãŸãã¯æŽæ°ä»¥å€ã®ãã®ãæå®ããå Žåã¯ãçŽã¡ã« FALSE ãè¿ãã ãŸãã
|
Beginning with PHP 4.2.0 these functions are enabled by default.
|
åžžã«å©çšå¯èœãªæšæºCã©ã€ãã©ãªé¢æ°ä»¥å€ã¯äžèŠã§ãã
|
You can disable ctype support with --disable-ctype.
|
PHP 4.2.0以éããããã®é¢æ°ã¯ããã©ã«ãã§æå¹ãšãªããŸããã 以åã®ããŒãžã§ã³ã§ã¯ãconfigure ã« --enable-ctype ãæå®ããŠPHPãã³ã³ãã€ã« ããå¿
èŠããããŸãã --disable-ctype ã«ããctypeãç¡å¹ã«ããããš ãã§ããŸãã
|
You do not need to load any additional extension in order to use these functions.
|
Windowsçã® PHP ã«ã¯ãã®æ¡åŒµã¢ãžã¥ãŒã«ã®ãµããŒããçµã¿èŸŒãŸããŠããŸãããããã®é¢æ°ã䜿çšããããã«æ¡åŒµã¢ãžã¥ãŒã«ã远å ã§ããŒãããå¿
èŠã¯ãããŸããã
|
Builtin support for ctype is available with PHP 4.3.0.
|
泚æ ctypeã®çµèŸŒã¿ãµããŒãã¯ãPHP 4.3.0ã§å©çšå¯èœã§ãã
|
This extension has no resource types defined.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯èšå®ãã£ã¬ã¯ãã£ããå
šã å®çŸ©ããŸããã
|
Prev
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ãªãœãŒã¹åãå
šãå®çŸ©ã ãŸããã
|
cyrus_unbind
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯å®æ°ãå
šãå®çŸ©ããŸã ãã
|
From PHP version 4.2.3 you will atleast need CURL version 7.9.0 or higher.
|
ãããã®é¢æ°ã¯ãPHP 4.0.2ã§è¿œå ãããŸããã
|
In the "include" directory there should be a folder named "curl "which should contain the easy.h and curl.h files.
|
CURL颿°ã䜿çšããããã«ã¯ã CURL ããã±ãŒãžãã€ã³ã¹ããŒã«ããŠããå¿
èŠããããŸããPHPã¯ã CURL 7.0.2-beta 以éãå¿
èŠãšããŸãã7.0.2-beta以åã®ããŒãžã§ã³ã§ ã¯åäœããŸãããPHP ããŒãžã§ã³4.2.3以éãå°ãªããšãCURLããŒãžã§ã³ 7.9.0以éãå¿
èŠãšãªã£ãŠããŸãã
|
C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32)
|
Win32ãŠãŒã¶ãžã®æ³šæ ãã®ã¢ãžã¥ãŒã«ãWindowsç°å¢ã§äœ¿çšå¯èœãšããã«ã¯ãPHP/Win32ãã€ã㪠ããã±ãŒãžã®DLLãã©ã«ãã«ãã libeay32.dll ããã³ ssleay32.dll ã䜿çšããWindowsãã·ã³ã®SYSTEM32 ãã©ã«ã(äŸ: C:\WINNT\SYSTEM32 ãŸã㯠C:\WINDOWS\SYSTEM32)ã«ã³ã㌠ããå¿
èŠããããŸãã
|
Once you 've compiled PHP with CURL support, you can begin using the CURL functions.
|
ãããã®å®æ°ã¯ããã®æ¡åŒµã¢ãžã¥ãŒã«ã§å®çŸ©ãããŠããã ãã®æ¡åŒµã¢ãžã¥ãŒã«ãPHPå
éšã«ã³ã³ãã€ã«ãããŠãããå®è¡æã«åçã«ã㌠ãããããã®ã©ã¡ããã®å Žåã®ã¿äœ¿çšå¯èœã§ãã
|
Here is an example that uses the CURL functions to fetch the example.com homepage into a file:
|
PHPãCURLãµããŒãæ©èœä»ãã§ã³ã³ãã€ã«ããå Žåãcurl颿°ã䜿çšå¯èœ ãšãªããŸããCURL颿°ã®åºæ¬çãªäœ¿çšæ³ã¯ã curl_init() ã«ããCURLã»ãã·ã§ã³ãåæåãã ç¶ã㊠curl_exec() ã«ãã転éãå®è¡ãã curl_close() ã«ããã»ãã·ã§ã³ãçµäºãããšããã ã®ã«ãªããŸããCURL颿°ã䜿çšããŠPHPããŒã ããŒãžããã¡ã€ã«ã«ååŸã ãäŸã瀺ããŸãã
|
?php $ch = curl_init ("http: / /www.example.com / "); $fp = fopen ("example_homepage.txt", "w"); curl_setopt ($ch, CURLOPT_FILE, $fp); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_exec ($ch); curl_close ($ch); fclose ($fp);?
|
äŸ 1 PHPã®CURLã¢ãžã¥ãŒã«ã䜿çšããŠexample.comã®ããŒã ããŒãžãååŸãã
|
In short, CyberCash was bought out by VeriSign and although the CyberCash service continues to exist, VeriSign encourages users to switch.
|
以äžã®é¢æ°ã¯ãã€ã³ã¿ããªã¿ã --with-cybercash=[DIR] ãä»ã㊠ã³ã³ãã€ã«ãããå Žåã«ã«ã¿å©çšå¯èœã§ãã
|
This extension allows you to process credit cards transactions using Crédit Mutuel CyberMUT system (http: / /www.creditmutuel.fr / centre_commercial / vendez_sur_internet.html).
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã«ããCrédit Mutuel CyberMUTã·ã¹ãã ( http://www.creditmutuel.fr/centre_commercial/vendez_sur_internet.html )ãçšãã ã¯ã¬ãžããã«ãŒããã©ã³ã¶ã¯ã·ã§ã³ãå¯èœãšãªããŸãã
|
If you are foreign in France, these functions will not be useful for you.
|
CynerMUT ã¯ããã©ã³ã¹ã§æåãªWebæ¯æãµãŒãã¹ã§ã Crédit Mutuel bankã«ããæäŸãããŠããŸãããã©ã³ã¹äººä»¥å€ã«ã¯ã ãããã®é¢æ°ã¯æçšã§ã¯ãªãã§ãããã
|
Note:
|
ãããã®é¢æ°ã¯ãPHP 4.0.6ã§è¿œå ãããŸããã
|
Be sure to read the CyberMUT Developers Guide for full details of the required parameters.
|
泚æ ãããã®é¢æ°ã¯ãCyberMUT SDKãžã®ãªã³ã¯ãæäŸããã ãã§ãã å¿
èŠãªãã©ã¡ãŒã¿ã®è©³çްã«ã€ããŠã¯ãCyberMUT Developers Guideãå¿
ã èªãã§ãã ããã
|
You will require the appropriate SDK for your platform, which may be sent to you after your CyberMUT' s subscription (contact them via Web, or go to the nearest Crédit Mutuel).
|
ãããã®é¢æ°ã¯ãPHPããªãã·ã§ã³ --with-cybermut[=DIR] ãä»ããŠã³ã³ãã€ã«ãããŠãã å Žåã«ã®ã¿å©çšå¯èœã§ãããã ããDIR㯠libcm-mac.a ããã³ cm-mac.h ã®ããå Žæã§ãã 䜿çšãããã©ãããã©ãŒã çšã®é©åœãªSDKãå¿
èŠã§ãã ããã¯ãCyberMUTã«ç»é²ããåŸã«éãããŠããŸãã (Webçµç±ã§äŸé ŒãããããŸãã¯è¿ãã®Crédit Mutuelã«è¡ã£ãŠã¿ãŠ ãã ããã)
|
Prev
|
泚æ ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯Windowsç°å¢ã§ã¯å©çšã§ããŸããã
|
This function is currently not documented; only the argument list is available.
|
ãã®é¢æ°ã¯ã çŸåšã®ãšããè©³çŽ°ãªæ
å ±ã¯ãããŸãããåŒæ°ã®ãªã¹ãã®ã¿ã èšè¿°ãããŠããŸãã
|
This extension is not available on Windows platforms.
|
泚æ ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯Windowsç°å¢ã§ã¯å©çšã§ããŸããã
|
To enable Cyrus IMAP support and to use these functions you have to compile PHP with the --with-cyrus option.
|
Cyrus IMAPãµããŒããæå¹ã«ããã«ã¯ã --with-cyrus ãªãã·ã§ã³ãæå®ã㊠PHPãã³ã³ãã€ã«ããå¿
èŠããããŸãã
|
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.
|
泚æ ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯Windowsç°å¢ã§ã¯å©çšã§ããŸããã
|
cybermut_testmac
|
ãããã®å®æ°ã¯ããã®æ¡åŒµã¢ãžã¥ãŒã«ã§å®çŸ©ãããŠããã ãã®æ¡åŒµã¢ãžã¥ãŒã«ãPHPå
éšã«ã³ã³ãã€ã«ãããŠãããå®è¡æã«åçã«ã㌠ãããããã®ã©ã¡ããã®å Žåã®ã¿äœ¿çšå¯èœã§ãã
|
You can use these functions to format the date and time in many different ways.
|
以äžã®é¢æ°ã«ãããPHPã¹ã¯ãªãããå®è¡ãããµãŒãããæ¥ä»ãšæéãå åŸããããšãå¯èœãšãªããŸããå€ãã®ç°ãªãæ¹æ³ã§æ¥ä»ãæéããã©ãŒ ãããããããã«ãããã®é¢æ°ã䜿çšããããšãã§ããŸãã
|
Make sure to take daylight saving time and leap years into consideration when working with these functions.
|
泚æ ãããã®é¢æ°ã¯ã䜿çšãããµãŒãã®ãã±ãŒã«ã®èšå®ã«äŸåããŠããããš ã«æ³šæããŠäžããããããã®é¢æ°ã䜿çšããéã«ã¯ãµããŒã¿ã€ã ããã³ é幎ãå¿
ãèæ
®ã«å
¥ããããã«ããŠäžããã
|
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
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯èšå®ãã£ã¬ã¯ãã£ããå
šã å®çŸ©ããŸããã
|
dba_sync
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ãªãœãŒã¹åãå
šãå®çŸ©ã ãŸããã
|
checkdate
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯å®æ°ãå
šãå®çŸ©ããŸã ãã
|
This is a general abstraction layer for several file-based databases.
|
ãããã®é¢æ°ã¯ãBerkeley DB åããŒã¿ããŒã¹ãžã®ã¢ã¯ã»ã¹çšã®åºæ¬é¢æ°ã æ§æããŸãã
|
The behaviour of various aspects depends on the implementation of the underlying database.
|
ãããã®é¢æ°ã¯ãè€æ°ã®ãã¡ã€ã«ããŒã¹ã®ããŒã¿ããŒã¹çšã®ã¢ãã¹ãã©ã¯ã·ã§ã³ ã»ã¬ã€ã€ãŒã§ãããã®æ©èœã¯ã Sleepycat Software's DB2 ãµããŒãã®ãããªè¿ä»£çãªããŒã¿ããŒã¹ã®æ©èœã® ãµãã»ããã«å¶éãããŠããŸãã(IBMã®ãœãããŠãšã¢DB2ãšæ··åããªãã§ äžããããã®ããŒã¿ããŒã¹ã¯ã ODBC 颿° ãéããŠãµããŒããããŸãã)
|
You have to download and install supported dba-Handlers.
|
åæ©èœã®åäœã¯ã䜿çšããããŒã¿ããŒã¹ã®å®è£
ã«äŸåããŸãã dba_optimize() ããã³ dba_sync() ã® ãããªé¢æ°ã¯ãç¹å®ã®ããŒã¿ããŒã¹ã§ã¯åäœããŸãããä»ã®ããŒã¿ããŒã¹ ã§ã¯æ©èœããŸããããµããŒããããdbaãã³ãã©ãããŠã³ããŒãããã€ã³ ã¹ããŒã«ããå¿
èŠããããŸãã
|
Dbm is the oldest (original) type of Berkeley DB style databases.
|
衚 1DBAãã³ãã©ã®ãªã¹ã
|
We do not support the compatibility functions built into DB2 and gdbm, because they are only compatible on the source code level, but cannot handle the original dbm format.
|
dba_open() ãŸã㯠dba_popen() 颿°ãå®è¡ããéãåŒæ°ã«ãã³ãã©åã®äžã€ãæå®ããå¿
èŠããããŸãã å®éã«å©çšå¯èœãªãã³ãã©ã®ãªã¹ãã¯ã phpinfo() ãŸã㯠dba_handlers() ãã³ãŒã«ããéã«è¡šç€ºãããŸãã
|
It is described as "a programmatic toolkit that provides high-performance built-in database support for both standalone and client / server applications.
|
èšå®ãªãã·ã§ã³ --enable-dba=shared ã䜿çšããããšã«ãããdbm圢åŒã®ããŒã¿ããŒã¹ããµããŒãããåçã«ã㌠ãå¯èœãªã¢ãžã¥ãŒã«ãæå¹ã«ããŠPHPãæ§ç¯ããããšãã§ããŸãã ãŸããPHPã®configureè¡ã«èšå®ã¹ã€ãã --with-XXXX ãæå®ããããšã«ãããå°ãªããšã以äžã®ãã³ãã©ã®äžã€ã®ãµããŒãã远å ããå¿
èŠããããŸãã
|
This is available since PHP 5.0.0.
|
衚 2ãµããŒããããDBAãã³ãã©
|
Cdb is "a fast, reliable, lightweight package for creating and reading constant databases." It is from the author of qmail and can be found here.
|
泚æ db2ã¯db3ããã³db4ãšã³ã³ããªã¯ãããŸãã
|
And since PHP 4.3.0 we support writing (not updating) through the internal cdb library.
|
泚æ db3ã¯db2ããã³db4ãšã³ã³ããªã¯ãããŸãã
|
Since PHP 4.3.0 we support creation (not updating) of cdb files when the bundeled cdb library is used.
|
泚æ db4ã¯db2ããã³db3ãšã³ã³ããªã¯ãããŸãã
|
However you may use this where files were created in this format.
|
泚æ ããã¯ãPHP 5.0.0ã§è¿œå ãããŸããããã以åã®ããŒãžã§ã³ã§ã¯ã --with-db3=DIR ã䜿çšãã DIRã«db4ã©ã€ãã©ãªã®ãã¹ãæå®ããå¿
èŠããå¿
èŠããããŸãã ããŒãžã§ã³4.3.0ããåã®PHPã§ã¯ã4.1以éã®ããŒãžã§ã³ã®dbãäœ¿çš ããããšã¯ã§ããŸããã
|
The actually available list of handlers is displayed by invoking phpinfo() or dba_handlers().
|
泚æ PHP 4.3.0以éãä»å±ããcdbã©ã€ãã©ãªã䜿çšããããã«DIRãçç¥ ããããšãã§ããŸãããã®å Žåãcdb_makeãã³ãã©ã远å ããã cdbãã¡ã€ã«ãäœæããPHPã®ã¹ããªãŒã ãçšããŠãããã¯ãŒã¯äžã® cdbãã¡ã€ã«ã«ã¢ã¯ã»ã¹ã§ããããã«ãªããŸãã
|
You also have to add support for at least one of the following handlers by specifying the --with-XXXX configure switch to your PHP configure line.
|
泚æ ããã¯ãå€ã dbm æ¡åŒµã¢ãžã¥ãŒã« ãšã®äºææ§ã®ããã«PHP 4.3.0ã§è¿œå ãããŸããã ãã®ãã³ãã©ã¯ãä»ã®ãã³ãã©ã§å¿
èŠãšãããã©ã€ãã©ãªã®ïŒã€ã ã€ã³ã¹ããŒã«ããããšãã§ããªãå Žåãããããä»å±ããcdbãã³ã ã©ã䜿çšããããšãã§ããªãå Žåã«ã®ã¿äœ¿çšããŠäžããã
|
It is not possible to use db versions starting from 4.1 with PHP prior to version 4.3.0.
|
泚æ PHP 4.3.0ãŸã§ã¯ãdb2ããã³db3ãã³ãã©ã®äž¡æ¹ã远å ããããšãã§ã㟠ããããå
éšçã«äœ¿çšã§ããã®ã¯çæ¹ã ãã§ããã ããã¯ãäž¡æ¹ã®ãã¡ã€ã«åœ¢åŒã䜿çšããããšãã§ããªãããšãæå³ããŸãã PHP 5.0.0以éããã®ãããªèšå®ãã¹ãåé¿ããããèšå®ã®ç¢ºèªãè¡ãããŸãã
|
flatfile
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯èšå®ãã£ã¬ã¯ãã£ããå
šã å®çŸ©ããŸããã
|
Uee this handler only when you cannot install one of the libraries required by the other handlers and when you cannot use bundeled cdb handler.
|
颿° dba_open() ããã³ dba_popen() ã¯ãæå®ããããŒã¿ããŒã¹ãã¡ã€ã«ã ã¢ã¯ã»ã¹ããããã®ãã³ãã«ãè¿ããŸãããã®ãã³ãã«ã¯ãä»ã®å
šãŠã® dba颿°ã³ãŒã«ã§äœ¿çšãããŸãã
|
That means that you cannot have both file formats.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯å®æ°ãå
šãå®çŸ©ããŸã ãã
|
This extension has no configuration directives defined in php.ini.
|
äŸ 1DBAã®äŸ
|
This extension has no constants defined.
|
DBAã¯ããã€ããªã»ãŒãã§ãããããªãå¶éãåããŸããã DBA ã¯ã䜿çšããããŒã¿ããŒã¹ã®å®è£
ã«ããå
šãŠã®å¶çŽãç¶æ¿ããŸãã
|
DBA is binary safe and does not have any arbitrary limits.
|
å
šãŠã®ãã¡ã€ã«ããŒã¹ã®ããŒã¿ããŒã¹ã¯ãå®å
šã«äœ¿çšå¯èœãªãã®ã«ã€ã㊠æ°èŠã«äœæãããããŒã¿ããŒã¹ã®ãã¡ã€ã«ã¢ãŒããèšå®ããææ®µãã æäŸããå¿
èŠããããŸãã ãã¡ã€ã«ã¢ãŒãã¯ãéåžž dba_open() ãŸã㯠dba_popen() ã«4çªç®ã®åŒæ°ãšããŠæž¡ãããŸãã
|
The file mode is commonly passed as the fourth argument to dba_open() or dba_popen().
|
dba_firstkey() ããã³ dba_nextkey() 颿°ãçšããŠé£ç¶çã«å
šãŠã®ãšã³ã ãªã«ã¢ã¯ã»ã¹ããããšãã§ããŸããã¢ã¯ã»ã¹ããéã«ããŒã¿ããŒã¹ãå€ æŽã§ããªãå¯èœæ§ããããŸãã
|
You may not change the database while traversing it.
|
äŸ 2ããŒã¿ããŒã¹ãžã®é£ç¶ã¢ã¯ã»ã¹
|
There is no support for indexes or memo fields.
|
ãããã®é¢æ°ã¯ãdBase 圢åŒ(dbf)ã®ããŒã¿ããŒã¹ã«ä¿åãããã¬ã³ãŒã ã«ã¢ã¯ã»ã¹ããããšãå¯èœã«ããŸãã
|
Two concurrent webserver processes modifying the same dBase file will very likely ruin your database.
|
ãããã®é¢æ°ã§ã¯ãã€ã³ããã¯ã¹ããã³ã¡ã¢ãã£ãŒã«ãã®ãµããŒãã¯è¡ã ããŸãããããã¯ã®ãµããŒããè¡ãããŸãããäºã€ã® Web ãµãŒããŒãã ã»ã¹ãåæã«åã dBase ãã¡ã€ã«ãä¿®æ£ããããšããå ŽåãããŒã¿ã㌠ã¹ã¯ã»ãŒç¢ºå®ã«é§ç®ã«ãªã£ãŠããŸãã§ãããã
|
Records are appended to the end of the file and delete records are kept until you call dbase_pack().
|
dBaseãã¡ã€ã«ã¯ãåºå®é·ã®åçŽãªã·ãŒã±ã³ã·ã£ã«ãã¡ã€ã«ã§ããã¬ã³ãŒ ãã¯ããã¡ã€ã«ã®çµãã«è¿œå ãããåé€ãããã¬ã³ãŒã㯠dbase_pack() ãã³ãŒã«ããããŸã§ä¿æãããŸãã
|
This extension has no configuration directives defined in php.ini.
|
ä»å±ããdbaseã©ã€ãã©ãªãæå¹ã«ãããããã®é¢æ°ã䜿çšããã«ã¯ã --enable-dbase ãªãã·ã§ã³ãæå®ã ãŠPHPãã³ã³ãã€ã«ããå¿
èŠããããŸãã
|
This extension has no constants defined.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯èšå®ãã£ã¬ã¯ãã£ããå
šã å®çŸ©ããŸããã
|
Home
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ãªãœãŒã¹åãå
šãå®çŸ©ã ãŸããã
|
dbase_add_record
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯å®æ°ãå
šãå®çŸ©ããŸã ãã
|
This type of database (supported by the Berkeley DB, GDBM, and some system libraries, as well as a built-in flatfile library) stores key / value pairs (as opposed to the full-blown records supported by relational databases).
|
ãããã®é¢æ°ã«ãããã¬ã³ãŒãã dbm åœ¢åŒ ã®ããŒã¿ããŒã¹ã«æ ŒçŽ ã§ããããã«ãªããŸãããã®åœ¢åŒã®ããŒã¿ããŒã¹ïŒçµã¿èŸŒã¿ã®ãã©ãã ãã¡ã€ã«ã»ã©ã€ãã©ãªãšåæ§ã«ãBerkeley DB, GDBM ããã®ä»ã®ã·ã¹ãã ã»ã©ã€ãã©ãªã«ãã ãµããŒããããŠããŸãïŒã¯ã(ãªã¬ãŒã·ã§ãã«ã»ããŒã¿ããŒã¹ã«ãããµã㌠ããããäºçްããªã¬ã³ãŒã圢åŒã§ã¯ãªãã)ããŒãšå€ã®çµã¿åãããæ ŒçŽ ããŸãã
|
To use this functions you have to compile PHP with support for an underlying database.
|
泚æ ããããdbmãµããŒãã¯å€ããªã£ãŠããã (dbm圢åŒã®)ããŒã¿ããŒã¹æœè±¡åã¬ã€ã€é¢æ° ã代ããã«äœ¿çšããããšãæšå¥šãããŠããŸãã
|
In addition you must ensure support for an underlying database or you can use some sytem libraries.
|
ãã®é¢æ°ã䜿çšããã«ã¯ã䜿çšããããŒã¿ããŒã¹ã®ãµããŒããæå®ã㊠PHPãã³ã³ãã€ã«ããå¿
èŠããããŸãããµããŒããããããŒã¿ããŒã¹ã® ãªã¹ã ãåç
§ããŠäžããã
|
The function dbmopen() returns an database identifier which is used by the other dbm-functions.
|
以äžã®é¢æ°ã䜿çšããã«ã¯ã --with-db ãªãã·ã§ã³ãæå®ããŠdbmãµããŒãã æå¹ã«ããŠPHPãã³ã³ãã€ã«ããå¿
èŠããããŸãã ããã«ã䜿çšããããŒã¿ããŒã¹ã® ãµã㌠ã ã確èªããå¿
èŠããããŸãããŸããããã€ãã®ã·ã¹ãã ã©ã€ãã© ãªã䜿çšããããšãå¯èœã§ãã
|
Example 1.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯èšå®ãã£ã¬ã¯ãã£ããå
šã å®çŸ©ããŸããã
|
$dbm = dbmopen ("lastseen", "w"); if (dbmexists ($dbm, $userid)) {$last_seen = dbmfetch ($dbm, $userid);} else {dbminsert ($dbm, $userid, time());} do_stuff(); dbmreplace ($dbm, $userid, time()); dbmclose ($dbm);
|
颿° dbmopen() ã¯ãããŒã¿ããŒã¹IDãè¿ããŸããã ã®IDã¯ãä»ã®dbm颿°ã§äœ¿çšãããŸãã
|
dbase_replace_record
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯å®æ°ãå
šãå®çŸ©ããŸã ãã
|
dblist
|
äŸ 1DBMã®äŸ
|
Use this extension at your own risk.
|
ãã®ã¢ãžã¥ãŒã«ã¯ã å®éšç ãªãã®ã§ããããã¯ããããã®é¢æ°ã®åäœã颿°åã¯ããã®ããã¥ã¡ã³ãã«æžãããŠäºé
ãšåæ§ã«åç¥ãªãå°æ¥çãªPHPã®ãªãªãŒã¹ã§å€æŽãããå¯èœæ§ããããŸããæ³šæãåèµ·ãããšãšãã«ããã®ã¢ãžã¥ãŒã«ã¯äœ¿çšè
ã®ãªã¹ã¯ã§äœ¿çšããŠäžããã
|
While providing SQL as an additional language interface, it is not really a SQL database in the first place but provides its own AQL query language which is much more influenced by the relational algebra then SQL is.
|
db++ã¯ããã€ãã®äŒæ¥ Concept asa ã«ããäœæããã髿§èœã§ãã€ã¡ã¢ãªäœ¿çšéãšãã£ã¹ã¯äœ¿çš éãå°ããããšãç¹åŸŽãšãããªã¬ãŒã·ã§ãã«ããŒã¿ããŒã¹ã·ã¹ãã ã§ãã db++ã§ã¯ãSQLã¯è£å©çãªã€ã³ã¿ãŒãã§ã€ã¹åèªãšããŠæäŸãããŠããã å
æ¥ã®SQLããŒã¿ããŒã¹ã§ããããã§ã¯ãããŸããããSQLãããé¢ä¿ä»£ æ°ã«ã¯ããã«åŒ·ã圱é¿ãããåºæã®AQLã¯ãšãªèšèªãæäŸãããŠããŸãã
|
This extension relies on external client libraries so you have to have a db+ + client installed on the system you want to use this extension on.
|
Concept asaã¯ãåžžã«ãªãŒãã³ãœãŒã¹èšèªã®ãµããŒãã«é¢å¿ãæã£ãŠæ¥ãŠ ãããdb++ã¯PerlãTclã³ãŒã«ã®ã€ã³ã¿ãŒãã§ã€ã¹ãäœå¹Žãåããæãã Tclãå
éšçãªã¹ãã¢ãããã·ãŒãžã£èšèªãšããŠäœ¿çšããŠããŸãã
|
There is also a Windows version of db++, but this extension doesn' t support it (yet).
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯å€éšã¯ã©ã€ã¢ã³ãã©ã€ãã©ãªã«äŸåããŠãããã ã®æ¡åŒµã¢ãžã¥ãŒã«ã䜿çšãããã·ã¹ãã äžã«db++ã¯ã©ã€ã¢ã³ããã€ã³ã¹ ããŒã«ãããŠããå¿
èŠããããŸãã
|
You have to run configure with option --with-dbplus to build this extension.
|
Concept asa ãã Linuxåã³ä»ã®ããã€ãã®UNIXçã® db++ãã¢ç ããã³ ããã¥ã¡ã³ã ã æäŸããŠããŸãããŸããWindowsçã®db++ããããŸããããã®æ¡åŒµã¢ãžã¥ãŒ ã«ã§ã¯(ãŸã )ãµããŒãããŠããŸããã
|
If you have installed db+ + in a different place you have add the installation path to the configure option like this: --with-dbplus= / your / installation / path.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã®äœæããã³ã€ã³ã¹ããŒã«ã«ã¯ãdb++ã®ã¯ã©ã€ã¢ã³ã ã©ã€ãã©ãªãšããããã¡ã€ã«ãäžèšã®ããã«ã·ã¹ãã ã«ã€ã³ã¹ããŒã« ãããŠããããšãå¿
èŠã§ãããã®æ¡åŒµã¢ãžã¥ãŒã«ãæ§ç¯ããã«ã¯ã configure ã«ãªãã·ã§ã³ --with-dbplus ãä»ããŠã³ã³ãã€ã«ããå¿
èŠããããŸãã
|
A dbplus_relation is a handle to a stored relation or a relation generated as the result of a query.
|
configure ã¯ãã¯ã©ã€ã¢ã³ãã©ã€ãã©ãªããã³ ããããã¡ã€ã«ãããã©ã«ãã®ãã¹ /usr/dbplus/ ã /usr/local/dbplus ããã³ /opt/dblus 以äžã§æ¢ããŸããdb++ãéãå Žæã«ã€ ã³ã¹ããŒã«ããŠããå Žåã«ã¯ã configure ã®ãªãã·ã§ ã³ã« --with-dbplus=/your/installation/path ã®ãã ã«ã€ã³ã¹ããŒã«ãããã¹ã远å ããå¿
èŠããããŸãã
|
Table 1.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯èšå®ãã£ã¬ã¯ãã£ããå
šã å®çŸ©ããŸããã
|
DBPLUS_ERR_PANIC (integer)
|
å€ãã®db++颿°ã¯ã dbplus_relation ãªãœãŒã¹ ãæäœãŸãã¯è¿ããŸãã dbplus_relation ã¯ãä¿åãããé¢ä¿ãŸã㯠ã¯ãšãªã®çµæãšããŠçæãããé¢ä¿ãžã®ãã³ãã«ã§ãã
|
DBPLUS_ERR_FIFO (integer)
|
ãããã®å®æ°ã¯ããã®æ¡åŒµã¢ãžã¥ãŒã«ã§å®çŸ©ãããŠããã ãã®æ¡åŒµã¢ãžã¥ãŒã«ãPHPå
éšã«ã³ã³ãã€ã«ãããŠãããå®è¡æã«åçã«ã㌠ãããããã®ã©ã¡ããã®å Žåã®ã¿äœ¿çšå¯èœã§ãã
|
DBPLUS_ERR_UNKNOWN (integer)
|
衚 1DB++ãšã©ãŒã³ãŒã
|
The dbx functions allow you to access all supported databases using a single calling convention.
|
dbx ã¢ãžã¥ãŒã«ã¯ãããŒã¿ããŒã¹æœè±¡åã¬ã€ã€ (db 'X'ããã ã 'X' 㯠ãµããŒããããããŒã¿ããŒã¹ã®äžã€ãæå³ããŸã)ã®ããšã§ããdbx 颿° ã«ããããµããŒããããå
šãŠã®ããŒã¿ããŒã¹ãåäžã®åŒåºè¡šèšã«ããã¢ã¯ ã»ã¹ããããšãå¯èœã«ãªããŸããdbx 颿°èªäœã¯ãããŒã¿ããŒã¹ãžã®çŽ æ¥ã®ã€ã³ã¿ãŒãã§ã€ã¹ãæããŸãããããããã®ããŒã¿ããŒã¹ããµããŒã ããããã«äœ¿çšãããã¢ãžã¥ãŒã«ãžã®ã€ã³ã¿ãŒãã§ã€ã¹ãæããŸãã
|
To be able to use a database with the dbx-module, the module must be either linked or loaded into PHP, and the database module must be supported by the dbx-module.
|
dbxã¢ãžã¥ãŒã«ã§ããŒã¿ããŒã¹ã䜿çšå¯èœãšããã«ã¯ããã®ã¢ãžã¥ãŒã«ã PHPã«ãªã³ã¯ããããããŒããããå¿
èŠãããããã®ããŒã¿ããŒã¹ã®ã¢ ãžã¥ãŒã«ã¯ãdbxã¢ãžã¥ãŒã«ã«ãµããŒããããŠããå¿
èŠããããŸããçŸåšã 以äžã®ããŒã¿ããŒã¹ããµããŒããããŠããŸãããä»ã®ããŒã¿ããŒã¹ã远 å ãããäºå®ã§ãã
|
Currently, following databases are supported, but others will follow:
|
FrontBase (PHP 4.1.0以éã§å© çšå¯èœ)
|
Sybase-CT (available from PHP 4.2.0).
|
Sybase-CT (PHP 4.2.0以éã§å© çšå¯èœ)
|
Oracle (oci8) (available from PHP 4.3.0).
|
Oracle (oci8) (PHP 4.3.0以éã§ å©çšå¯èœ)
|
Documentation for adding additional database support to dbx can be found at http: / /www.guidance.nl / php / dbx / doc /.
|
dbxã«ããŒã¿ããŒã¹ã®ãµããŒãã远å ããããã®ããã¥ã¡ã³ãã¯ã http://www.guidance.nl/php/dbx/doc/ ã«ãããŸãã
|
To get other supported databases to work with the dbx-module refer to their specific documentation.
|
ãããã®é¢æ°ãå©çšå¯èœã«ããã«ã¯ã --enable-dbx ãªãã·ã§ã³ã䜿çšã㊠dbxãµããŒããæå¹ã«ãããŸãã䜿çšããããŒã¿ããŒã¹ã«é¢ãããªãã·ã§ã³ã äŸãã°ãMySQL ã®å Žå㯠--with-mysql=[DIR] ãæå®ã㊠PHPãã³ã³ãã€ã«ããå¿
èŠããããŸãã dbxã¢ãžã¥ãŒã«ã§ä»ã®ãµããŒããããããŒã¿ããŒã¹ãåäœãããã«ã¯ãæå® ããããã¥ã¡ã³ããåç
§ããŠäžããã
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.