From f513cbd09ce26bd55439e4e3a5250434c6429706 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Fri, 19 Apr 2002 15:07:14 +0000 Subject: [PATCH] Applied new structure git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78842 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/crack/reference.xml | 37 ++++++----- reference/ctype/reference.xml | 59 ++++++++-------- reference/curl/reference.xml | 107 +++++++++++++++++------------- reference/cybercash/reference.xml | 16 +++-- reference/cybermut/reference.xml | 76 +++++++++++---------- 5 files changed, 164 insertions(+), 131 deletions(-) diff --git a/reference/crack/reference.xml b/reference/crack/reference.xml index 6215fe4635..24fe2664a5 100644 --- a/reference/crack/reference.xml +++ b/reference/crack/reference.xml @@ -1,20 +1,23 @@ - + Crack functions Crack functions - - These functions allow you to use the CrackLib library to test the - 'strength' of a password. The 'strength' of a password is tested by that - checks length, use of upper and lower case and checked against the - specified CrackLib dictionary. CrackLib will also give helpful diagnostic - messages that will help 'strengthen' the password. - +
+ &reftitle.intro; + + These functions allow you to use the CrackLib library to test the + 'strength' of a password. The 'strength' of a password is tested by that + checks length, use of upper and lower case and checked against the + specified CrackLib dictionary. CrackLib will also give helpful diagnostic + messages that will help 'strengthen' the password. + +
- Requirements + &reftitle.required; More information regarding CrackLib along with the library can be found at &url.crack;. @@ -22,7 +25,7 @@
- Installation + &reftitle.install; In order to use these functions, you must compile PHP with Crack support by using the option. @@ -30,22 +33,22 @@
- Runtime Configuration - &no.config; + &reftitle.runtime; + &no.config;
- Resource types - &no.resource; + &reftitle.resources; + &no.resource;
- Predefined constants - &no.constants; + &reftitle.constants; + &no.constants;
- Example + &reftitle.examples; This example shows how to open a CrackLib dictionary, test a given password, retrieve any diagnostic messages, and close the dictionary. diff --git a/reference/ctype/reference.xml b/reference/ctype/reference.xml index f07583b55a..182730fe26 100644 --- a/reference/ctype/reference.xml +++ b/reference/ctype/reference.xml @@ -1,32 +1,35 @@ - + Character type functions ctype - - 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). - - - When called with an integer argument these functions - behave exactly like their C counterparts from "ctype.h". - - - When called with a string argument they will check - every character in the string and will only return - &true; if every character in the string matches the - requested criteria. - - - Passing anything else but a string or integer will - return &false; immediately. - +
+ &reftitle.intro; + + 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). + + + When called with an integer argument these functions + behave exactly like their C counterparts from "ctype.h". + + + When called with a string argument they will check + every character in the string and will only return + &true; if every character in the string matches the + requested criteria. + + + Passing anything else but a string or integer will + return &false; immediately. + +
- Requirements + &reftitle.required; None besides functions from the standard C library which are always available. @@ -34,7 +37,7 @@
- Installation + &reftitle.install; Beginning with PHP 4.2.0 these functions are enabled by default. For older versions you have to configure and compile PHP @@ -43,18 +46,18 @@
- Runtime Configuration - &no.config; + &reftitle.runtime; + &no.config;
- Resource types - &no.resource; + &reftitle.resources; + &no.resource;
- Predefined constants - &no.constants; + &reftitle.constants; + &no.constants;
diff --git a/reference/curl/reference.xml b/reference/curl/reference.xml index 71976f9ebc..1ebd550359 100644 --- a/reference/curl/reference.xml +++ b/reference/curl/reference.xml @@ -1,50 +1,66 @@ - + CURL, Client URL Library Functions CURL - - - PHP supports libcurl, a library created by Daniel Stenberg, that - allows you to connect and communicate to many different types of - servers with many different types of protocols. libcurl currently - supports the http, https, ftp, gopher, telnet, dict, file, and - ldap protocols. libcurl also supports HTTPS certificates, HTTP - POST, HTTP PUT, FTP uploading (this can also be done with PHP's - ftp extension), HTTP form based upload, proxies, cookies, and - user+password authentication. - - - In order to use the CURL functions you need to install the CURL package. PHP requires that you use - CURL 7.0.2-beta or higher. PHP will not work with any version of - CURL below version 7.0.2-beta. - - - To use PHP's CURL support you must also compile PHP where DIR is the - location of the directory containing the lib and include - directories. In the "include" directory there should be a folder - named "curl" which should contain the easy.h and curl.h files. - There should be a file named "libcurl.a" located in the "lib" - directory. - - - These functions have been added in PHP 4.0.2. - - - Once you've compiled PHP with CURL support, you can begin using - the curl functions. The basic idea behind the CURL functions is - that you initialize a CURL session using the - curl_init, then you can set all your - options for the transfer via the curl_exec - and then you finish off your session using the - curl_close. Here is an example that uses - the CURL functions to fetch the PHP homepage into a file: - - Using PHP's CURL module to fetch the PHP homepage - + +
+ &reftitle.intro; + + PHP supports libcurl, a library created by Daniel Stenberg, that + allows you to connect and communicate to many different types of + servers with many different types of protocols. libcurl currently + supports the http, https, ftp, gopher, telnet, dict, file, and + ldap protocols. libcurl also supports HTTPS certificates, HTTP + POST, HTTP PUT, FTP uploading (this can also be done with PHP's + ftp extension), HTTP form based upload, proxies, cookies, and + user+password authentication. + + + These functions have been added in PHP 4.0.2. + +
+ +
+ &reftitle.required; + + In order to use the CURL functions you need to install the CURL package. PHP requires that you use + CURL 7.0.2-beta or higher. PHP will not work with any version of + CURL below version 7.0.2-beta. + +
+ +
+ &reftitle.install; + + To use PHP's CURL support you must also compile PHP where DIR is the + location of the directory containing the lib and include + directories. In the "include" directory there should be a folder + named "curl" which should contain the easy.h and curl.h files. + There should be a file named "libcurl.a" located in the "lib" + directory. + +
+ + &reference.curl.constants; + +
+ &reftitle.examples; + + Once you've compiled PHP with CURL support, you can begin using + the curl functions. The basic idea behind the CURL functions is + that you initialize a CURL session using the + curl_init, then you can set all your + options for the transfer via the curl_exec + and then you finish off your session using the + curl_close. Here is an example that uses + the CURL functions to fetch the example.com homepage into a file: + + Using PHP's CURL module to fetch the example.com homepage + ]]> - - - + + + +
&reference.curl.functions; diff --git a/reference/cybercash/reference.xml b/reference/cybercash/reference.xml index 674f81be1f..4562b2aa7a 100644 --- a/reference/cybercash/reference.xml +++ b/reference/cybercash/reference.xml @@ -1,16 +1,18 @@ - + Cybercash payment functions Cybercash - - These functions are only available if the interpreter has been - compiled with the . These functions - have been added in PHP 4. - +
+ &reftitle.install; + + These functions are only available if the interpreter has been + compiled with the . + +
&reference.cybercash.functions; diff --git a/reference/cybermut/reference.xml b/reference/cybermut/reference.xml index 84742b4aa6..656ad618a8 100644 --- a/reference/cybermut/reference.xml +++ b/reference/cybermut/reference.xml @@ -1,45 +1,53 @@ - + Crédit Mutuel CyberMUT functions CyberMUT - - This extension allows you to process credit cards transactions using Crédit - Mutuel CyberMUT system (&url.cybermut;). - - - CyberMUT is a popular Web Payment Service in France, provided by the - Crédit Mutuel bank. If you are foreign in France, these functions will not - be useful for you. - - - These functions are only available if PHP has been compiled with the - - option, where DIR is the location of libcm-mac.a - and cm-mac.h. - 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). - - - The use of these functions is almost identical to the original functions, - except for the parameters of return for cybermut_creerformulairecm - and cybermut_creerreponsecm, - which are returned directly by functions PHP, whereas they had passed in - reference in the original functions. - - - These functions have been added in PHP 4.0.6. - - +
+ &reftitle.intro; - These functions only provide a link to CyberMUT SDK. Be sure to read the - CyberMUT Developers Guide for full details of the required parameters. + This extension allows you to process credit cards transactions using Crédit + Mutuel CyberMUT system (&url.cybermut;). + + + CyberMUT is a popular Web Payment Service in France, provided by the + Crédit Mutuel bank. If you are foreign in France, these functions will not + be useful for you. - + + The use of these functions is almost identical to the original SDK functions, + except for the parameters of return for cybermut_creerformulairecm + and cybermut_creerreponsecm, + which are returned directly by functions PHP, whereas they had passed in + reference in the original functions. + + + These functions have been added in PHP 4.0.6. + + + + These functions only provide a link to CyberMUT SDK. Be sure to read the + CyberMUT Developers Guide for full details of the required parameters. + + +
+ +
+ &reftitle.install; + + These functions are only available if PHP has been compiled with the + + option, where DIR is the location of libcm-mac.a + and cm-mac.h. + 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). + +
+ &reference.cybermut.functions;