From 4cdd4f7401fd07d36f70d4600fc38dd69b4e6975 Mon Sep 17 00:00:00 2001 From: Jouni Ahto Date: Sat, 14 Oct 2000 13:26:28 +0000 Subject: [PATCH] - Added one to of ldap.xml, also some reformatting. - Gave id to most unnamed 's. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@33832 c90b9560-bf6c-de11-be94-00142212c4b1 --- chapters/install.xml | 22 +++++++++++----------- chapters/security.xml | 2 +- functions/classobj.xml | 2 +- functions/ldap.xml | 29 +++++++++++++++++------------ functions/math.xml | 4 ++-- functions/pdf.xml | 10 +++++----- language/variables.xml | 6 +++--- security/index.xml | 2 +- 8 files changed, 41 insertions(+), 36 deletions(-) diff --git a/chapters/install.xml b/chapters/install.xml index 99c768cad1..eea160b990 100644 --- a/chapters/install.xml +++ b/chapters/install.xml @@ -272,7 +272,7 @@ - + Building When PHP is configured, you are ready to build the CGI executable @@ -282,7 +282,7 @@ - + Testing If you have built PHP as a CGI program, you may test your build @@ -292,7 +292,7 @@ - + Benchmarking If you have built PHP as a CGI program, you may benchmark your @@ -2665,7 +2665,7 @@ - + General Installation Steps @@ -2744,7 +2744,7 @@ - + Windows 95/98/NT and PWS/IIS 3 @@ -2893,7 +2893,7 @@ - + Windows NT and IIS 4 @@ -2952,7 +2952,7 @@ - + Windows 9x/NT and Apache 1.3.x @@ -3013,7 +3013,7 @@ - + Omni HTTPd 2.0b1 for Windows @@ -3065,7 +3065,7 @@ - + PHP Modules @@ -3162,7 +3162,7 @@ - + Bug reports If you think you have found a bug in PHP, please report it. The @@ -3173,7 +3173,7 @@ - + Other problems diff --git a/chapters/security.xml b/chapters/security.xml index c439317828..877b81d661 100644 --- a/chapters/security.xml +++ b/chapters/security.xml @@ -39,7 +39,7 @@ Installed as CGI binary - + Possible attacks Using PHP as a CGI binary is an option for diff --git a/functions/classobj.xml b/functions/classobj.xml index 93e387e178..b8d0b13039 100644 --- a/functions/classobj.xml +++ b/functions/classobj.xml @@ -16,7 +16,7 @@ what class is the object class extending). - + An example of use In this example, we first define a base class and an extension diff --git a/functions/ldap.xml b/functions/ldap.xml index a59fb6e919..2bf941a9d2 100644 --- a/functions/ldap.xml +++ b/functions/ldap.xml @@ -3,47 +3,51 @@ LDAP - Introduction to LDAP + + Introduction to LDAP LDAP is the Lightweight Directory Access Protocol, and is a protocol used to access "Directory Servers". The Directory is a special kind of database that holds information in a tree structure. - + + The concept is similar to your hard disk directory structure, except that in this context, the root directory is "The world" and the first level subdirectories are "countries". Lower levels of the directory structure contain entries for companies, organisations or places, while yet lower still we find directory entries for people, and perhaps equipment or documents. - + + To refer to a file in a subdirectory on your hard disk, you might use something like - + /usr/local/myapp/docs - + The forwards slash marks each division in the reference, and the sequence is read from left to right. - + + The equivalent to the fully qualified file reference in LDAP is the "distinguished name", referred to simply as "dn". An example dn might be. - + cn=John Smith,ou=Accounts,o=My Company,c=US - + The comma marks each division in the reference, and the sequence is read from right to left. You would read this dn as .. - + country = US organization = My Company organizationalUnit = Accounts commonName = John Smith - + In the same way as there are no hard rules about how you organise the directory structure of a hard disk, a directory server @@ -54,6 +58,7 @@ than you can use a database without some knowledge of what is available. + Complete code example @@ -108,7 +113,7 @@ if ($ds) { - + Using the PHP LDAP calls You will need to get and compile LDAP client libraries from @@ -156,7 +161,7 @@ if ($ds) { - + More Information Lots of information about LDAP can be found at diff --git a/functions/math.xml b/functions/math.xml index 4768281b97..2e766a9521 100644 --- a/functions/math.xml +++ b/functions/math.xml @@ -3,7 +3,7 @@ Math. - + Introduction These math functions will only handle values within the range of @@ -11,7 +11,7 @@ handle bigger numbers, take a look at the arbitrary precision math functions. - + Math constants The following values are defined as constants in PHP by the math diff --git a/functions/pdf.xml b/functions/pdf.xml index c7afff79fd..50ef86ba02 100644 --- a/functions/pdf.xml +++ b/functions/pdf.xml @@ -3,7 +3,7 @@ PDF - + Introduction You can use the PDF functions in PHP to create PDF files if you @@ -41,7 +41,7 @@ almost all functions need it as its first parameter. - + Confusion with old pdflib versions Since the very begining of PDF support in PHP — starting with @@ -196,14 +196,14 @@ - + Hints for installation of pdflib 3.x Since version 3.0 of pdflib you should configure pdflib with the option --enable-shared-pdflib. - + Issues with older versions of pdflib If you use pdflib 2.01 check how the lib was installed. @@ -233,7 +233,7 @@ with version newer than 2.01. - + Examples Most of the functions are fairly easy to use. The most difficult part diff --git a/language/variables.xml b/language/variables.xml index 0f29275477..79b8a83804 100644 --- a/language/variables.xml +++ b/language/variables.xml @@ -880,7 +880,7 @@ echo "$a $hello"; single-dimensional arrays. In PHP 4, no such restriction applies. - + IMAGE SUBMIT variable names @@ -976,7 +976,7 @@ echo $HOME; /* Shows the HOME environment variable, if set. */ - + Dots in incoming variable names @@ -1002,7 +1002,7 @@ $varname.ext; /* invalid variable name */ - + Determining variable types diff --git a/security/index.xml b/security/index.xml index c439317828..877b81d661 100644 --- a/security/index.xml +++ b/security/index.xml @@ -39,7 +39,7 @@ Installed as CGI binary - + Possible attacks Using PHP as a CGI binary is an option for