mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- Added one <sect1> to <partintro> of ldap.xml, also some reformatting.
- Gave id to most unnamed <sect[123]>'s. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@33832 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3f02850c43
commit
4cdd4f7401
8 changed files with 41 additions and 36 deletions
|
@ -272,7 +272,7 @@
|
|||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="install.building">
|
||||
<title>Building</title>
|
||||
<simpara>
|
||||
When PHP is configured, you are ready to build the CGI executable
|
||||
|
@ -282,7 +282,7 @@
|
|||
</simpara>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="install.testing">
|
||||
<title>Testing</title>
|
||||
<simpara>
|
||||
If you have built PHP as a CGI program, you may test your build
|
||||
|
@ -292,7 +292,7 @@
|
|||
</simpara>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="install.benchmarking">
|
||||
<title>Benchmarking</title>
|
||||
<simpara>
|
||||
If you have built PHP as a CGI program, you may benchmark your
|
||||
|
@ -2665,7 +2665,7 @@
|
|||
</itemizedlist>
|
||||
</para>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="install.windows.general">
|
||||
<title>General Installation Steps</title>
|
||||
|
||||
<para>
|
||||
|
@ -2744,7 +2744,7 @@
|
|||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="install.windows.iis3">
|
||||
<title>Windows 95/98/NT and PWS/IIS 3</title>
|
||||
|
||||
<simpara>
|
||||
|
@ -2893,7 +2893,7 @@
|
|||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="install.windowsnt.iis4">
|
||||
<title>Windows NT and IIS 4</title>
|
||||
|
||||
<simpara>
|
||||
|
@ -2952,7 +2952,7 @@
|
|||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="install.windows.apache">
|
||||
<title>Windows 9x/NT and Apache 1.3.x</title>
|
||||
|
||||
<simpara>
|
||||
|
@ -3013,7 +3013,7 @@
|
|||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="install.windows.omnihttpd">
|
||||
<title>Omni HTTPd 2.0b1 for Windows</title>
|
||||
|
||||
<simpara>
|
||||
|
@ -3065,7 +3065,7 @@
|
|||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="install.windows.modules">
|
||||
<title>PHP Modules</title>
|
||||
|
||||
<para>
|
||||
|
@ -3162,7 +3162,7 @@
|
|||
</simpara>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="install.bugreports">
|
||||
<title>Bug reports</title>
|
||||
<simpara>
|
||||
If you think you have found a bug in PHP, please report it. The
|
||||
|
@ -3173,7 +3173,7 @@
|
|||
</simpara>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="install.otherproblems">
|
||||
<title>Other problems</title>
|
||||
|
||||
<simpara>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<sect1 id="security.cgi">
|
||||
<title>Installed as CGI binary</title>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="security.cgi.attacks">
|
||||
<title>Possible attacks</title>
|
||||
<simpara>
|
||||
Using PHP as a <acronym>CGI</acronym> binary is an option for
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
what class is the object class extending).
|
||||
</para>
|
||||
</sect2>
|
||||
<sect2>
|
||||
<sect2 id="classobj.example">
|
||||
<title>An example of use</title>
|
||||
<para>
|
||||
In this example, we first define a base class and an extension
|
||||
|
|
|
@ -3,47 +3,51 @@
|
|||
<titleabbrev>LDAP</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
<title>Introduction to LDAP</title>
|
||||
<sect1 id="ldap.intro">
|
||||
<title>Introduction to LDAP</title>
|
||||
<para>
|
||||
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.
|
||||
</para><para>
|
||||
</para>
|
||||
<para>
|
||||
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.
|
||||
</para><para>
|
||||
</para>
|
||||
<para>
|
||||
To refer to a file in a subdirectory on your hard disk, you might
|
||||
use something like
|
||||
</para>
|
||||
<literallayout>
|
||||
<literallayout>
|
||||
/usr/local/myapp/docs
|
||||
</literallayout>
|
||||
</literallayout>
|
||||
<para>
|
||||
The forwards slash marks each division in the reference, and the
|
||||
sequence is read from left to right.
|
||||
</para><para>
|
||||
</para>
|
||||
<para>
|
||||
The equivalent to the fully qualified file reference in LDAP is
|
||||
the "distinguished name", referred to simply as "dn". An example
|
||||
dn might be.
|
||||
</para>
|
||||
<literallayout>
|
||||
<literallayout>
|
||||
cn=John Smith,ou=Accounts,o=My Company,c=US
|
||||
</literallayout>
|
||||
</literallayout>
|
||||
<para>
|
||||
The comma marks each division in the reference, and the sequence
|
||||
is read from right to left. You would read this dn as ..
|
||||
</para>
|
||||
<literallayout>
|
||||
<literallayout>
|
||||
country = US
|
||||
organization = My Company
|
||||
organizationalUnit = Accounts
|
||||
commonName = John Smith
|
||||
</literallayout>
|
||||
</literallayout>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="ldap-example">
|
||||
<title>Complete code example</title>
|
||||
|
@ -108,7 +113,7 @@ if ($ds) {
|
|||
</programlisting>
|
||||
</example>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="ldap.using">
|
||||
<title>Using the PHP LDAP calls</title>
|
||||
<para>
|
||||
You will need to get and compile LDAP client libraries from
|
||||
|
@ -156,7 +161,7 @@ if ($ds) {
|
|||
</sect2>
|
||||
|
||||
|
||||
<sect2>
|
||||
<sect2 id="ldap.moreinfo">
|
||||
<title>More Information</title>
|
||||
<para>
|
||||
Lots of information about LDAP can be found at
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<titleabbrev>Math.</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
<sect1>
|
||||
<sect1 id="math.intro">
|
||||
<title>Introduction</title>
|
||||
<para>
|
||||
These math functions will only handle values within the range of
|
||||
|
@ -11,7 +11,7 @@
|
|||
handle bigger numbers, take a look at the <link
|
||||
linkend="ref.bc">arbitrary precision math functions</link>.
|
||||
</para>
|
||||
<sect2>
|
||||
<sect2 id="math.constants">
|
||||
<title>Math constants</title>
|
||||
<para>
|
||||
The following values are defined as constants in PHP by the math
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<titleabbrev>PDF</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
<sect1>
|
||||
<sect1 id="pdf.intro">
|
||||
<title>Introduction</title>
|
||||
<simpara>
|
||||
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.
|
||||
</simpara>
|
||||
</sect1>
|
||||
<sect1>
|
||||
<sect1 id="pdf.oldlibs.confusion">
|
||||
<title>Confusion with old pdflib versions</title>
|
||||
<simpara>
|
||||
Since the very begining of PDF support in PHP — starting with
|
||||
|
@ -196,14 +196,14 @@
|
|||
</table>
|
||||
</para>
|
||||
</sect1>
|
||||
<sect1>
|
||||
<sect1 id="pdf.install.pdflib">
|
||||
<title>Hints for installation of pdflib 3.x</title>
|
||||
<simpara>
|
||||
Since version 3.0 of pdflib you should configure pdflib with the option
|
||||
<literal>--enable-shared-pdflib</literal>.
|
||||
</simpara>
|
||||
</sect1>
|
||||
<sect1>
|
||||
<sect1 id="pdf.oldlibs.hints">
|
||||
<title>Issues with older versions of pdflib</title>
|
||||
<simpara>
|
||||
If you use pdflib 2.01 check how the lib was installed.
|
||||
|
@ -233,7 +233,7 @@
|
|||
with version newer than 2.01.
|
||||
</simpara>
|
||||
</sect1>
|
||||
<sect1>
|
||||
<sect1 id="pdf.examples">
|
||||
<title>Examples</title>
|
||||
<simpara>
|
||||
Most of the functions are fairly easy to use. The most difficult part
|
||||
|
|
|
@ -880,7 +880,7 @@ echo "$a $hello";
|
|||
single-dimensional arrays. In PHP 4, no such restriction applies.
|
||||
</para>
|
||||
|
||||
<sect3>
|
||||
<sect3 id="language.variables.external.form.submit">
|
||||
<title>IMAGE SUBMIT variable names</title>
|
||||
|
||||
<simpara>
|
||||
|
@ -976,7 +976,7 @@ echo $HOME; /* Shows the HOME environment variable, if set. */
|
|||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="language.variables.external.dot-in-names">
|
||||
<title>Dots in incoming variable names</title>
|
||||
|
||||
<para>
|
||||
|
@ -1002,7 +1002,7 @@ $varname.ext; /* invalid variable name */
|
|||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="language.variables.determining-type-of">
|
||||
<title>Determining variable types</title>
|
||||
|
||||
<para>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<sect1 id="security.cgi">
|
||||
<title>Installed as CGI binary</title>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="security.cgi.attacks">
|
||||
<title>Possible attacks</title>
|
||||
<simpara>
|
||||
Using PHP as a <acronym>CGI</acronym> binary is an option for
|
||||
|
|
Loading…
Reference in a new issue