cvs: phpdoc /en/appendices about.xml history.xml migration5.xml wrappers.xml /en/chapters tutorial.xml /en/faq build.xml migration5.xml using.xml
/en/features commandline.xml file-upload.xml http-auth.xml remote-files.xml safe-mode.xml xforms.xml /en/install pecl.xml /en/install/macos
bundled.xml /en/install/unix caudium.xml fhttpd.xml index.xml solaris.xml sun.xml
| From: | Yannick Torres | Date: | Sat, 02 May 2009 22:27:56 +0000 |
| Subject: | cvs: phpdoc /en/appendices about.xml history.xml migration5.xml wrappers.xml /en/chapters tutorial.xml /en/faq build.xml migration5.xml using.xml /en/features commandline.xml file-upload.xml http-auth.xml remote-files.xml safe-mode.xml xforms.xml /en/install pecl.xml /en/install/macos bundled.xml /en/install/unix caudium.xml fhttpd.xml index.xml solaris.xml sun.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3935@lists.php.net to get a copy of this message | ||
yannick Sat May 2 22:27:56 2009 UTC
Modified files:
/phpdoc/en/faq using.xml migration5.xml build.xml
/phpdoc/en/appendices wrappers.xml history.xml about.xml
migration5.xml
/phpdoc/en/chapters tutorial.xml
/phpdoc/en/features safe-mode.xml http-auth.xml remote-files.xml
file-upload.xml xforms.xml commandline.xml
/phpdoc/en/install pecl.xml
/phpdoc/en/install/macos bundled.xml
/phpdoc/en/install/unix solaris.xml fhttpd.xml sun.xml index.xml
caudium.xml
Log:
fix markup
http://cvs.php.net/viewvc.cgi/phpdoc/en/faq/using.xml?r1=1.38&r2=1.39&diff_format=u Index: phpdoc/en/faq/using.xml diff -u phpdoc/en/faq/using.xml:1.38 phpdoc/en/faq/using.xml:1.39 --- phpdoc/en/faq/using.xml:1.38 Thu Apr 16 20:12:26 2009 +++ phpdoc/en/faq/using.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.38 $ --> +<!-- $Revision: 1.39 $ --> <chapter xml:id="faq.using" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Using PHP</title> <titleabbrev>Using PHP</titleabbrev> @@ -442,7 +442,8 @@ <question> <para> I'm trying to access one of the standard CGI - variables (such as $DOCUMENT_ROOT or $HTTP_REFERER) in a user-defined + variables (such as <varname>$DOCUMENT_ROOT</varname> or + <varname>$HTTP_REFERER</varname>) in a user-defined function, and it can't seem to find it. What's wrong? </para> </question> http://cvs.php.net/viewvc.cgi/phpdoc/en/faq/migration5.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/faq/migration5.xml diff -u phpdoc/en/faq/migration5.xml:1.4 phpdoc/en/faq/migration5.xml:1.5 --- phpdoc/en/faq/migration5.xml:1.4 Wed Jun 20 22:24:10 2007 +++ phpdoc/en/faq/migration5.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <chapter xml:id="faq.migration5" xmlns="http://docbook.org/ns/docbook"> <title>Migrating from PHP 4 to PHP 5</title> <titleabbrev>Migrating from PHP 4 to PHP 5</titleabbrev> @@ -72,7 +72,7 @@ the <emphasis>Zend Engine 2.0</emphasis>. The <link linkend="ini.zend.ze1-compatibility-mode"> zend.ze1_compatibility_mode</link> directive enables compatability - with the Zend Engine 1.0 (PHP 4). + with the <literal>Zend Engine 1.0</literal> (PHP 4). </para> <para> The new OOP model is documented in the <link linkend="language.oop5"> http://cvs.php.net/viewvc.cgi/phpdoc/en/faq/build.xml?r1=1.34&r2=1.35&diff_format=u Index: phpdoc/en/faq/build.xml diff -u phpdoc/en/faq/build.xml:1.34 phpdoc/en/faq/build.xml:1.35 --- phpdoc/en/faq/build.xml:1.34 Tue Feb 19 21:45:29 2008 +++ phpdoc/en/faq/build.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.34 $ --> +<!-- $Revision: 1.35 $ --> <chapter xml:id="faq.build" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Build Problems</title> <titleabbrev>Build Problems</titleabbrev> @@ -26,7 +26,7 @@ with the <literal>--enable-maintainer-mode</literal> option, the configure script will not automatically get rebuilt when the <filename>configure.in</filename> file is updated, so you should make sure to do that - manually when you notice configure.in has changed. One symptom + manually when you notice <filename>configure.in</filename> has changed. One symptom of this is finding things like @VARIABLE@ in your Makefile after configure or <filename>config.status</filename> is run.) </para> http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/wrappers.xml?r1=1.82&r2=1.83&diff_format=u Index: phpdoc/en/appendices/wrappers.xml diff -u phpdoc/en/appendices/wrappers.xml:1.82 phpdoc/en/appendices/wrappers.xml:1.83 --- phpdoc/en/appendices/wrappers.xml:1.82 Thu Mar 26 01:55:27 2009 +++ phpdoc/en/appendices/wrappers.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.82 $ --> +<!-- $Revision: 1.83 $ --> <appendix xml:id="wrappers" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>List of Supported Protocols/Wrappers</title> <para> @@ -1249,10 +1249,10 @@ <simpara> Files opened for reading via the <filename>ogg://</filename> wrapper - are treated as compressed audio encoded using the OGG/Vorbis codec. + are treated as compressed audio encoded using the <literal>OGG/Vorbis</literal> codec. Similarly, files opened for writing or appending via the <filename>ogg://</filename> wrapper are writen as compressed audio data. - <function>stream_get_meta_data</function>, when used on an OGG/Vorbis + <function>stream_get_meta_data</function>, when used on an <literal>OGG/Vorbis</literal> file opened for reading will return various details about the stream including the <parameter>vendor</parameter> tag, any included <parameter>comments</parameter>, the number of @@ -1337,7 +1337,7 @@ <constant>OGGVORBIS_PCM_U8</constant>, <constant>OGGVORBIS_PCM_S8</constant>, <constant>OGGVORBIS_PCM_U16_BE</constant>, <constant>OGGVORBIS_PCM_S16_BE</constant>, <constant>OGGVORBIS_PCM_U16_LE</constant>, and <constant>OGGVORBIS_PCM_S16_LE</constant>. - (8 vs 16 bit, signed or unsigned, big or little endian) + (8 vs 16 bit, signed or unsigned, big or little <literal>endian</literal>) </entry> <entry>OGGVORBIS_PCM_S16_LE</entry> <entry>Read</entry> http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/history.xml?r1=1.30&r2=1.31&diff_format=u Index: phpdoc/en/appendices/history.xml diff -u phpdoc/en/appendices/history.xml:1.30 phpdoc/en/appendices/history.xml:1.31 --- phpdoc/en/appendices/history.xml:1.30 Thu Apr 2 12:58:04 2009 +++ phpdoc/en/appendices/history.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.30 $ --> +<!-- $Revision: 1.31 $ --> <appendix xml:id="history" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>History of PHP and related projects</title> @@ -165,7 +165,8 @@ <title>PHP 5</title> <para> PHP 5 was released in July 2004 after long development and several - pre-releases. It is mainly driven by its core, the Zend Engine 2.0 with a + pre-releases. It is mainly driven by its core, the + <literal>Zend Engine 2.0</literal> with a new object model and dozens of other new features. </para> </sect2> @@ -187,8 +188,8 @@ <sect2 xml:id="history.pear"> <title>PEAR</title> <para> - <link xlink:href="&url.php.pear;">PEAR</link>, the PHP Extension and - Application Repository (originally, PHP Extension and Add-on + <link xlink:href="&url.php.pear;">PEAR</link>, the <literal>PHP Extension and + Application Repository</literal> (originally, PHP Extension and Add-on Repository) is PHP's version of foundation classes, and may grow in the future to be one of the key ways to distribute PHP extensions among developers. @@ -254,10 +255,10 @@ Hand-writing the interfaces to all the Gtk+ functions was out of the question, so I seized upon the idea of code-generator, similar to how PyGtk did it. The code generator is a PHP program that reads - a set of .defs file containing the Gtk+ classes, constants, and + a set of <filename>.defs</filename> file containing the Gtk+ classes, constants, and methods information and generates C code that interfaces PHP with them. What cannot be generated automatically can be written by - hand in .overrides file. + hand in <filename>.overrides</filename> file. </para> <para> Working on the code generator and the infrastructure took some http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/about.xml?r1=1.54&r2=1.55&diff_format=u Index: phpdoc/en/appendices/about.xml diff -u phpdoc/en/appendices/about.xml:1.54 phpdoc/en/appendices/about.xml:1.55 --- phpdoc/en/appendices/about.xml:1.54 Sun Jul 20 20:14:40 2008 +++ phpdoc/en/appendices/about.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.54 $ --> +<!-- $Revision: 1.55 $ --> <appendix xml:id="about" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>About the manual</title> @@ -325,7 +325,7 @@ <para> If an error is found in this manual, in any language, please report them using the bug system at <link xlink:href="&url.php.bugs;">&url.php.bugs;</link>. - Classify the bug as "Documentation Problem". All documentation related + Classify the bug as <literal>"Documentation Problem"</literal>. All documentation related problems, including those about manual formats, should be submitted as bug reports. </para> @@ -372,7 +372,7 @@ The tool used for formatting the online manual is <link xlink:href="&url.phd;">PhD</link>. We use <link xlink:href="&url.winhelp;">Microsoft HTML Help - Workshop</link> to generate the Windows HTML Help format + Workshop</link> to generate the <productname>Windows HTML Help</productname> format of the manual, and of course PHP itself to do some additional conversions and formatting. </para> http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration5.xml?r1=1.59&r2=1.60&diff_format=u Index: phpdoc/en/appendices/migration5.xml diff -u phpdoc/en/appendices/migration5.xml:1.59 phpdoc/en/appendices/migration5.xml:1.60 --- phpdoc/en/appendices/migration5.xml:1.59 Thu Sep 11 12:35:08 2008 +++ phpdoc/en/appendices/migration5.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.59 $ --> +<!-- $Revision: 1.60 $ --> <appendix xml:id="migration5" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Migrating from PHP 4 to PHP 5.0.x</title> <para> @@ -58,9 +58,9 @@ </listitem> <listitem> <simpara> - PATH_TRANSLATED server variable is no longer set implicitly under + <constant>PATH_TRANSLATED</constant> server variable is no longer set implicitly under Apache2 SAPI in contrast to the situation in PHP 4, where it is set to - the same value as the SCRIPT_FILENAME server variable when it is not + the same value as the <constant>SCRIPT_FILENAME</constant> server variable when it is not populated by Apache. This change was made to comply with the <link xlink:href="&url.cgispecs;">CGI specification</link>. Please refer to <link xlink:href="&url.php.bugs;23610">bug #23610</link> for further information, @@ -77,7 +77,7 @@ generate a notice. Although the <constant>T_ML_COMMENT</constant> was never used at all, it was defined in PHP 4. In both PHP 4 and PHP 5 // and /* */ are resolved as the <constant>T_COMMENT</constant> - constant. However the PHPDoc style comments /** */, which starting PHP + constant. However the PHPDoc style comments <literal>/** */</literal>, which starting PHP 5 are parsed by PHP, are recognized as <constant>T_DOC_COMMENT</constant>. </simpara> </listitem> @@ -89,7 +89,7 @@ If you have specifically configured your system to not create <varname>$_SERVER</varname>, then of course it shouldn't be there. The change was to always make <varname>argc</varname> - and argv available in the CLI version regardless of the + and <varname>argv</varname> available in the CLI version regardless of the <link linkend="ini.variables-order">variables_order</link> setting. As in, the CLI version will now always populate the global <varname>$argc</varname> and <varname>$argv</varname> variables. @@ -650,7 +650,7 @@ <listitem> <simpara> <function>dbx_fetch_row</function> - Fetches rows from a query-result - that had the DBX_RESULT_UNBUFFERED flag set + that had the <constant>DBX_RESULT_UNBUFFERED</constant> flag set </simpara> </listitem> <listitem> @@ -733,7 +733,7 @@ <listitem> <simpara> <function>pcntl_wait</function> - Waits on or returns the status of a - forked child as defined by the waitpid() system call + forked child as defined by the <literal>waitpid()</literal> system call </simpara> </listitem> <listitem> @@ -824,7 +824,7 @@ <listitem> <simpara> <link linkend="ini.register-long-arrays">register_long_arrays</link> - - allow/disallow PHP to register the deprecated long $HTTP_*_VARS + allow/disallow PHP to register the deprecated long <varname>$HTTP_*_VARS</varname> </simpara> </listitem> <listitem> @@ -910,15 +910,16 @@ <section xml:id='migrating5.errorrep'> <title>Error Reporting</title> <para> - As of PHP 5 new error reporting constant E_STRICT was introduced with - value 2048. It enables run-time PHP suggestions on your code - interoperability and forward compatibility, that will help you to keep + As of PHP 5 new error reporting constant <constant>E_STRICT</constant> + was introduced with value 2048. It enables run-time PHP suggestions on your + code interoperability and forward compatibility, that will help you to keep latest and greatest suggested method of coding. E.g. STRICT message will warn you on using deprecated functions. </para> <note> <simpara> - E_ALL does not include E_STRICT so it's not enabled by default + <constant>E_ALL</constant> does not include <constant>E_STRICT</constant> + so it's not enabled by default </simpara> </note> </section> http://cvs.php.net/viewvc.cgi/phpdoc/en/chapters/tutorial.xml?r1=1.55&r2=1.56&diff_format=u Index: phpdoc/en/chapters/tutorial.xml diff -u phpdoc/en/chapters/tutorial.xml:1.55 phpdoc/en/chapters/tutorial.xml:1.56 --- phpdoc/en/chapters/tutorial.xml:1.55 Sun Feb 15 12:05:00 2009 +++ phpdoc/en/chapters/tutorial.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-9"?> -<!-- $Revision: 1.55 $ --> +<!-- $Revision: 1.56 $ --> <chapter xml:id="tutorial" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <info><title>A simple tutorial</title></info> @@ -181,10 +181,10 @@ <info><title>A Note on Windows Notepad</title></info> <para> If you are writing your PHP scripts using Windows Notepad, you will need - to ensure that your files are saved with the .php extension. (Notepad adds - a .txt extension to files automatically unless you take one of the - following steps to prevent it.) When you save the file and are prompted - to provide a name for the file, place the filename in quotes + to ensure that your files are saved with the <filename>.php</filename> extension. + (Notepad adds a <filename>.txt</filename> extension to files automatically unless + you take one of the following steps to prevent it.) When you save the file and + are prompted to provide a name for the file, place the filename in quotes (i.e. "<filename>hello.php</filename>"). Alternatively, you can click on the 'Text Documents' drop-down menu in the 'Save' dialog box and change the setting to "All Files". You can then enter your filename without quotes. @@ -495,8 +495,8 @@ <emphasis>off</emphasis> by default in &php.ini;. The preferred method of accessing these values is via the superglobal arrays mentioned above. Older scripts, books, and tutorials may rely on this - directive being on. If it were on, for example, one could use - <varname>$id</varname> from the URL + directive being <literal>on</literal>. If it were <literal>on</literal>, + for example, one could use <varname>$id</varname> from the URL <literal>http://www.example.com/foo.php?id=42</literal>. Whether on or off, <varname>$_GET['id']</varname> is available. </simpara> http://cvs.php.net/viewvc.cgi/phpdoc/en/features/safe-mode.xml?r1=1.80&r2=1.81&diff_format=u Index: phpdoc/en/features/safe-mode.xml diff -u phpdoc/en/features/safe-mode.xml:1.80 phpdoc/en/features/safe-mode.xml:1.81 --- phpdoc/en/features/safe-mode.xml:1.80 Tue Dec 9 11:48:40 2008 +++ phpdoc/en/features/safe-mode.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.80 $ --> +<!-- $Revision: 1.81 $ --> <chapter xml:id="features.safe-mode" xmlns="http://docbook.org/ns/docbook"> <title>Safe Mode</title> @@ -144,10 +144,11 @@ </simpara> <simpara> The restriction specified is actually a prefix, not a directory name. - This means that "safe_mode_include_dir = /dir/incl" also allows - access to "/dir/include" and "/dir/incls" if they exist. When you + This means that "<literal>safe_mode_include_dir = /dir/incl</literal>" also allows + access to "<literal>/dir/include</literal>" and + "<literal>/dir/incls</literal>" if they exist. When you want to restrict access to only the specified directory, end with a - slash. For example: "safe_mode_include_dir = /dir/incl/" + slash. For example: "<literal>safe_mode_include_dir = /dir/incl/</literal>" </simpara> <simpara> If the value of this directive is empty, no files with different @@ -183,7 +184,8 @@ This directive contains a comma-delimited list of prefixes. In Safe Mode, the user may only alter environment variables whose names begin with the prefixes supplied here. By default, users will only be able to set - environment variables that begin with PHP_ (e.g. PHP_FOO=BAR). + environment variables that begin with <literal>PHP_</literal> + (e.g. <literal>PHP_FOO=BAR</literal>). </para> <note> <para> @@ -227,7 +229,7 @@ links are resolved, so it's not possible to avoid this restriction with a symlink. If the file doesn't exist then the symlink couldn't be resolved and the filename is compared to (a resolved) - <parameter>open_basedir</parameter>. + <option>open_basedir</option>. </para> <para> The special value <systemitem class="filesystem">.</systemitem> @@ -236,25 +238,25 @@ of the script can easily be changed with <function>chdir</function>. </para> <para> - In <filename>httpd.conf</filename>, open_basedir can be turned off + In <filename>httpd.conf</filename>, <option>open_basedir</option> can be turned off (e.g. for some virtual hosts) <link linkend="configuration.changes.apache">the same way</link> as - any other configuration directive with "php_admin_value open_basedir - none". + any other configuration directive with "<literal>php_admin_value open_basedir + none</literal>". </para> <para> Under Windows, separate the directories with a semicolon. On all other systems, separate the directories with a colon. As an Apache - module, open_basedir paths from parent directories are now + module, <option>open_basedir</option> paths from parent directories are now automatically inherited. </para> <para> - The restriction specified with open_basedir is actually a - prefix, not a directory name. This means that "open_basedir = - /dir/incl" also allows access to "/dir/include" and - "/dir/incls" if they exist. When you want to restrict access + The restriction specified with <option>open_basedir</option> is actually a + prefix, not a directory name. This means that "<literal>open_basedir + = /dir/incl</literal>" also allows access to "<literal>/dir/include</literal>" and + "<literal>/dir/incls</literal>" if they exist. When you want to restrict access to only the specified directory, end with a slash. For example: - "open_basedir = /dir/incl/" + <literal>open_basedir = /dir/incl/</literal> </para> <para> The default is to allow all files to be opened. @@ -330,7 +332,7 @@ -rw-r--r-- 1 root root 1116 May 26 18:01 /etc/passwd ]]> </programlisting> - Running script.php: + Running <filename>script.php</filename>: <programlisting role="php"> <![CDATA[ <?php @@ -367,7 +369,7 @@ </Directory> ]]> </programlisting> - If you run the same script.php with this + If you run the same <filename>script.php</filename> with this <link linkend="ini.open-basedir">open_basedir</link> setting then this is the result: <screen> @@ -590,7 +592,7 @@ </row> <row> <entry><function>apache_request_headers</function></entry> - <entry>In safe mode, headers beginning with 'authorization' + <entry>In safe mode, headers beginning with <literal>authorization</literal> (case-insensitive) will not be returned.</entry> </row> <row> http://cvs.php.net/viewvc.cgi/phpdoc/en/features/http-auth.xml?r1=1.52&r2=1.53&diff_format=u Index: phpdoc/en/features/http-auth.xml diff -u phpdoc/en/features/http-auth.xml:1.52 phpdoc/en/features/http-auth.xml:1.53 --- phpdoc/en/features/http-auth.xml:1.52 Sat Aug 23 15:40:19 2008 +++ phpdoc/en/features/http-auth.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.52 $ --> +<!-- $Revision: 1.53 $ --> <chapter xml:id="features.http-auth" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>HTTP authentication with PHP</title> @@ -7,7 +7,7 @@ The <acronym>HTTP</acronym> Authentication hooks in PHP are only available when it is running as an Apache module and is hence not available in the CGI version. In an Apache module PHP script, it is possible to use the - <function>header</function> function to send an "Authentication Required" + <function>header</function> function to send an <literal>"Authentication Required"</literal> message to the client browser causing it to pop up a Username/Password input window. Once the user has filled in a username and a password, the URL containing the PHP script will be called again with the @@ -211,20 +211,21 @@ </example> </para> <simpara> - This behavior is not required by the HTTP Basic authentication - standard, so you should never depend on this. Testing with Lynx - has shown that Lynx does not clear the authentication credentials - with a 401 server response, so pressing back and then forward - again will open the resource as long as the credential + This behavior is not required by the <literal>HTTP Basic</literal> + authentication standard, so you should never depend on this. Testing with + <literal>Lynx</literal> has shown that <literal>Lynx</literal> does not clear + the authentication credentials with a 401 server response, so pressing back + and then forward again will open the resource as long as the credential requirements haven't changed. The user can press the - '_' key to clear their authentication information, however. + <literal>'_'</literal> key to clear their authentication information, however. </simpara> <simpara> Also note that until PHP 4.3.3, HTTP Authentication did not work using Microsoft's IIS server with the CGI version of PHP due to a limitation of IIS. In order to get it to work in PHP 4.3.3+, - you must edit your IIS configuration "Directory Security". Click - on "Edit" and only check "Anonymous Access", all other fields + you must edit your IIS configuration "<literal>Directory Security</literal>". + Click on "<literal>Edit</literal>" and only check + "<literal>Anonymous Access</literal>", all other fields should be left unchecked. </simpara> <simpara> http://cvs.php.net/viewvc.cgi/phpdoc/en/features/remote-files.xml?r1=1.30&r2=1.31&diff_format=u Index: phpdoc/en/features/remote-files.xml diff -u phpdoc/en/features/remote-files.xml:1.30 phpdoc/en/features/remote-files.xml:1.31 --- phpdoc/en/features/remote-files.xml:1.30 Fri Nov 28 20:34:00 2008 +++ phpdoc/en/features/remote-files.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.30 $ --> +<!-- $Revision: 1.31 $ --> <chapter xml:id="features.remote-files" xmlns="http://docbook.org/ns/docbook"> <title>Using remote files</title> @@ -75,9 +75,9 @@ <para> To connect as a user other than 'anonymous', you need to specify the username (and possibly password) within the URL, such as - 'ftp://user:password@ftp.example.com/path/to/file'. (You can use the - same sort of syntax to access files via HTTP when they require Basic - authentication.) + '<literal>ftp://user:password@ftp.example.com/path/to/file</literal>'. + (You can use the same sort of syntax to access files via + <acronym>HTTP</acronym> when they require Basic authentication.) </para> <para> <example> http://cvs.php.net/viewvc.cgi/phpdoc/en/features/file-upload.xml?r1=1.96&r2=1.97&diff_format=u Index: phpdoc/en/features/file-upload.xml diff -u phpdoc/en/features/file-upload.xml:1.96 phpdoc/en/features/file-upload.xml:1.97 --- phpdoc/en/features/file-upload.xml:1.96 Mon Nov 10 11:29:14 2008 +++ phpdoc/en/features/file-upload.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.96 $ --> +<!-- $Revision: 1.97 $ --> <chapter xml:id="features.file-upload" xmlns="http://docbook.org/ns/docbook"> <title>Handling file uploads</title> @@ -398,8 +398,8 @@ that files with exotic names (like containing spaces) are handled properly. </simpara> <simpara> - A developer may not mix normal input fields and file upload fields in the same - form variable (by using an input name like <literal>foo[]</literal>). + A developer may not mix normal <literal>input</literal> fields and file upload fields in the same + form variable (by using an <literal>input</literal> name like <literal>foo[]</literal>). </simpara> </sect1> @@ -486,8 +486,8 @@ want a certain PHP script to handle the request. In Apache you do this with the <emphasis>Script</emphasis> directive. It can be placed almost anywhere in your Apache configuration file. A - common place is inside a <Directory> block or perhaps inside - a <VirtualHost> block. A line like this would do the trick: + common place is inside a <literal><Directory></literal> block or perhaps inside + a <literal><VirtualHost></literal> block. A line like this would do the trick: <informalexample> <programlisting> <![CDATA[ @@ -498,8 +498,8 @@ </para> <simpara> This tells Apache to send all PUT requests for URIs that match the - context in which you put this line to the put.php script. This - assumes, of course, that you have PHP enabled for the .php + context in which you put this line to the <filename>put.php</filename> script. This + assumes, of course, that you have PHP enabled for the <filename>.php</filename> extension and PHP is active. The destination resource for all PUT requests to this script has to be the script itself, not a filename the uploaded file should have. http://cvs.php.net/viewvc.cgi/phpdoc/en/features/xforms.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/features/xforms.xml diff -u phpdoc/en/features/xforms.xml:1.5 phpdoc/en/features/xforms.xml:1.6 --- phpdoc/en/features/xforms.xml:1.5 Sat Jun 30 14:14:03 2007 +++ phpdoc/en/features/xforms.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <chapter xml:id="features.xforms" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Dealing with XForms</title> <para> @@ -9,7 +9,7 @@ </para> <para> The first key difference in XForms is how the form is sent to the client. - <link xlink:href="&url.xforms.htmlauthors;">XForms for HTML Authors</link> + <link xlink:href="&url.xforms.htmlauthors;"><literal>XForms for HTML Authors</literal></link> contains a detailed description of how to create XForms, for the purpose of this tutorial we'll only be looking at a simple example. </para> @@ -45,13 +45,13 @@ Here's where it starts to look different from your web application's point of view. In a normal HTML form, the data would be sent as <literal>application/x-www-form-urlencoded</literal>, in the XForms world - however, this information is sent as XML formatted data. + however, this information is sent as <acronym>XML</acronym> formatted data. </para> <para> If you're choosing to work with XForms then you probably want that data as - XML, in that case, look in <varname>$HTTP_RAW_POST_DATA</varname> where - you'll find the XML document generated by the browser which you can pass - into your favorite XSLT engine or document parser. + <acronym>XML</acronym>, in that case, look in <varname>$HTTP_RAW_POST_DATA</varname> where + you'll find the <acronym>XML</acronym> document generated by the browser which you can pass + into your favorite <acronym>XSLT</acronym> engine or document parser. </para> <para> If you're not interested in formatting and just want your data to be loaded http://cvs.php.net/viewvc.cgi/phpdoc/en/features/commandline.xml?r1=1.56&r2=1.57&diff_format=u Index: phpdoc/en/features/commandline.xml diff -u phpdoc/en/features/commandline.xml:1.56 phpdoc/en/features/commandline.xml:1.57 --- phpdoc/en/features/commandline.xml:1.56 Tue Nov 18 03:57:54 2008 +++ phpdoc/en/features/commandline.xml Sat May 2 22:27:55 2009 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.56 $ --> +<!-- $Revision: 1.57 $ --> <chapter xml:id="features.commandline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Using PHP from the command line</title> <para> As of version 4.3.0, PHP supports a new - <literal>SAPI</literal> type (Server Application Programming Interface) + <literal>SAPI</literal> type (<literal>Server Application Programming Interface</literal>) named <literal>CLI</literal> which means <emphasis>Command Line Interface</emphasis>. As the name implies, this <literal>SAPI</literal> type main focus is on developing shell (or desktop as well) applications with @@ -132,7 +132,7 @@ <entry>&false;</entry> <entry> It can be quite hard to read the error message in your shell when - it's cluttered with all those meaningless <literal>HTML</literal> + it's cluttered with all those meaningless HTML tags, therefore this directive defaults to &false;. </entry> </row> @@ -729,7 +729,7 @@ out the results. If PHP is not working correctly, it is advisable to use <command>php -i</command> and see whether any error messages are printed out before or in place of the information tables. - Beware that when using the CGI mode the output is in <literal>HTML</literal> + Beware that when using the CGI mode the output is in <acronym>HTML</acronym> and therefore quite huge. </entry> </row> @@ -942,10 +942,10 @@ </para> <para> This option uses the internal mechanism to parse the file and produces - a <literal>HTML</literal> highlighted version of it and writes it to + a HTML highlighted version of it and writes it to standard output. Note that all it does it to generate a block of <literal><code> [...] </code></literal> - <literal>HTML</literal> tags, no <literal>HTML</literal> headers. + HTML tags, no HTML headers. </para> <note> <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/pecl.xml?r1=1.28&r2=1.29&diff_format=u Index: phpdoc/en/install/pecl.xml diff -u phpdoc/en/install/pecl.xml:1.28 phpdoc/en/install/pecl.xml:1.29 --- phpdoc/en/install/pecl.xml:1.28 Tue Apr 28 22:32:30 2009 +++ phpdoc/en/install/pecl.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.28 $ --> +<!-- $Revision: 1.29 $ --> <chapter xml:id="install.pecl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Installation of PECL extensions</title> @@ -228,17 +228,17 @@ </screen> </para> <para> - However, some web servers are confusing because they do not use the php.ini located alongside + However, some web servers are confusing because they do not use the <filename>php.ini</filename> located alongside your PHP executable. To find out where your actual <filename>php.ini</filename> resides, look for its path in <function>phpinfo</function>: <screen> <![CDATA[ -Configuration File (php.ini) Path C:\WINDOWS +Configuration File (php.ini) Path C:\WINDOWS ]]> </screen> <screen> <![CDATA[ -Loaded Configuration File C:\Program Files\PHP\5.2\php.ini +Loaded Configuration File C:\Program Files\PHP\5.2\php.ini ]]> </screen> </para> @@ -265,7 +265,7 @@ </para> <para> Common problems are the location of the DLL, the value of the "<link linkend="ini.extension-dir"> - extension_dir</link>" setting inside <literal>php.ini</literal> and compile-time setting mismatches. + extension_dir</link>" setting inside <filename>php.ini</filename> and compile-time setting mismatches. </para> <para> If the problem lies in a compile-time setting mismatch, you probably didn't download the right DLL. @@ -357,12 +357,12 @@ <simpara> If the system is missing the <literal>phpize</literal> command, and precompiled packages (like RPM's) are used, be sure to also install the appropriate - <literal>devel</literal> version of the PHP package as they often include the + devel version of the PHP package as they often include the <literal>phpize</literal> command along with the appropriate header files to build PHP and its extensions. </simpara> <simpara> - Execute <literal>phpize --help</literal> to display additional usage information. + Execute <command>phpize --help</command>to display additional usage information. </simpara> </sect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/macos/bundled.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/install/macos/bundled.xml diff -u phpdoc/en/install/macos/bundled.xml:1.4 phpdoc/en/install/macos/bundled.xml:1.5 --- phpdoc/en/install/macos/bundled.xml:1.4 Wed Nov 12 18:35:47 2008 +++ phpdoc/en/install/macos/bundled.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <sect1 xml:id="install.macosx.bundled" xmlns="http://docbook.org/ns/docbook"> <title>Using the bundled PHP</title> <simpara> @@ -40,8 +40,8 @@ <simpara> One way to open this is by using a Unix based text editor in the Terminal, for example <literal>nano</literal>, and because the - file is owned by root we'll use the <literal>sudo</literal> command - to open it (as root) so for example type the following into the + file is owned by <literal>root</literal> we'll use the <literal>sudo</literal> command + to open it (as <literal>root</literal>) so for example type the following into the <literal>Terminal</literal> Application (after, it will prompt for a password): <literal>sudo nano /etc/httpd/httpd.conf</literal> @@ -137,7 +137,7 @@ outputting them to the browser. A typical default path is <filename>/Library/WebServer/Documents</filename> but this can be set to anything in <filename>httpd.conf</filename>. Alternatively, the default - DocumentRoot for individual users is + <filename>DocumentRoot</filename> for individual users is <filename>/Users/yourusername/Sites</filename> </simpara> </listitem> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/solaris.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/install/unix/solaris.xml diff -u phpdoc/en/install/unix/solaris.xml:1.2 phpdoc/en/install/unix/solaris.xml:1.3 --- phpdoc/en/install/unix/solaris.xml:1.2 Wed Jun 20 22:24:11 2007 +++ phpdoc/en/install/unix/solaris.xml Sat May 2 22:27:55 2009 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect1 xml:id="install.unix.solaris" xmlns="http://docbook.org/ns/docbook"> - <title>Solaris specific installation tips</title> + <title><productname>Solaris</productname> specific installation tips</title> <para> This section contains notes and hints specific to installing - PHP on Solaris systems. + PHP on <productname>Solaris</productname> systems. </para> <sect2 xml:id="install.unix.solaris.required"> <title>Required software</title> <para> - Solaris installs often lack C compilers and their related tools. + <productname>Solaris</productname> installs often lack C compilers and their related tools. Read <link linkend="faq.installation.needgnu">this FAQ</link> for information on why using GNU versions for some of these tools is necessary. The required software is as follows: @@ -78,7 +78,7 @@ <sect2 xml:id="install.unix.solaris.packages"> <title>Using Packages</title> <simpara> - You can simplify the Solaris install process by using pkgadd to + You can simplify the <productname>Solaris</productname> install process by using pkgadd to install most of your needed components. </simpara> </sect2> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/fhttpd.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/install/unix/fhttpd.xml diff -u phpdoc/en/install/unix/fhttpd.xml:1.3 phpdoc/en/install/unix/fhttpd.xml:1.4 --- phpdoc/en/install/unix/fhttpd.xml:1.3 Wed Jun 20 22:24:11 2007 +++ phpdoc/en/install/unix/fhttpd.xml Sat May 2 22:27:55 2009 @@ -1,21 +1,22 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <sect1 xml:id="install.unix.fhttpd" xmlns="http://docbook.org/ns/docbook"> - <title>fhttpd related notes</title> + <title><productname>fhttpd</productname> related notes</title> <para> - To build PHP as an fhttpd module, answer "yes" to "Build as an - fhttpd module?" (the <link + To build PHP as an <productname>fhttpd</productname> module, + answer <literal>"yes"</literal> to <literal>"Build as an + fhttpd module?"</literal> (the <link linkend="configure.with-fhttpd"> --with-fhttpd</link>=<replaceable>DIR</replaceable> - option to configure) and specify the fhttpd source base + option to configure) and specify the <productname>fhttpd</productname> source base directory. The default directory is <filename class="directory">/usr/local/src/fhttpd</filename>. If you are - running fhttpd, building PHP as a module will give better + running <productname>fhttpd</productname>, building PHP as a module will give better performance, more control and remote execution capability. </para> <note> <simpara> - Support for fhttpd is no longer available as of PHP 4.3.0. + Support for <productname>fhttpd</productname> is no longer available as of PHP 4.3.0. </simpara> </note> </sect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/sun.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/install/unix/sun.xml diff -u phpdoc/en/install/unix/sun.xml:1.7 phpdoc/en/install/unix/sun.xml:1.8 --- phpdoc/en/install/unix/sun.xml:1.7 Sat Aug 23 15:40:20 2008 +++ phpdoc/en/install/unix/sun.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <sect1 xml:id="install.unix.sun" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Sun, iPlanet and Netscape servers on Sun Solaris</title> <para> @@ -60,7 +60,7 @@ </listitem> <listitem> <simpara> - <userinput>gunzip php-x.x.x.tar.gz</userinput> (if you have a .gz dist, + <userinput>gunzip php-x.x.x.tar.gz</userinput> (if you have a <filename>.gz</filename> dist, otherwise go to 4). </simpara> </listitem> @@ -291,7 +291,7 @@ <para> Another possibility is to generate self-made directory listings. Just create a PHP script which displays a directory listing and - replace the corresponding default Service line for + replace the corresponding default <literal>Service</literal> line for <literal>type="magnus-internal/directory"</literal> in <filename>obj.conf</filename> with the following: <programlisting> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/index.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/install/unix/index.xml diff -u phpdoc/en/install/unix/index.xml:1.10 phpdoc/en/install/unix/index.xml:1.11 --- phpdoc/en/install/unix/index.xml:1.10 Fri Apr 11 20:47:38 2008 +++ phpdoc/en/install/unix/index.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <chapter xml:id="install.unix" xmlns="http://docbook.org/ns/docbook"> <title>Installation on Unix systems</title> <para> @@ -58,7 +58,8 @@ </listitem> <listitem> <simpara> - Any module specific components (such as gd, pdf libs, etc.) + Any module specific components (such as <acronym>GD</acronym>, + <acronym>PDF</acronym> libs, etc.) </simpara> </listitem> </itemizedlist> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/caudium.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/install/unix/caudium.xml diff -u phpdoc/en/install/unix/caudium.xml:1.3 phpdoc/en/install/unix/caudium.xml:1.4 --- phpdoc/en/install/unix/caudium.xml:1.3 Wed Feb 20 02:24:54 2008 +++ phpdoc/en/install/unix/caudium.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <sect1 xml:id="install.unix.caudium" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Caudium</title> <para> @@ -26,8 +26,8 @@ 9. If the documentation says that the 'PHP 4 interpreter isn't available', make sure that you restarted the server. If you did check /opt/caudium/logs/debug/default.1 for any errors related to - <filename>PHP4.so</filename>. Also make sure that - <filename>caudium/server/lib/[pike-version]/PHP4.so</filename> + PHP4.so. Also make sure that + caudium/server/lib/[pike-version]/PHP4.so is present. 10. Configure the PHP Script Support module if needed. ]]>
http://cvs.php.net/viewvc.cgi/phpdoc/en/faq/using.xml?r1=1.38&r2=1.39&diff_format=u Index: phpdoc/en/faq/using.xml diff -u phpdoc/en/faq/using.xml:1.38 phpdoc/en/faq/using.xml:1.39 --- phpdoc/en/faq/using.xml:1.38 Thu Apr 16 20:12:26 2009 +++ phpdoc/en/faq/using.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.38 $ --> +<!-- $Revision: 1.39 $ --> <chapter xml:id="faq.using" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Using PHP</title> <titleabbrev>Using PHP</titleabbrev> @@ -442,7 +442,8 @@ <question> <para> I'm trying to access one of the standard CGI - variables (such as $DOCUMENT_ROOT or $HTTP_REFERER) in a user-defined + variables (such as <varname>$DOCUMENT_ROOT</varname> or + <varname>$HTTP_REFERER</varname>) in a user-defined function, and it can't seem to find it. What's wrong? </para> </question> http://cvs.php.net/viewvc.cgi/phpdoc/en/faq/migration5.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/faq/migration5.xml diff -u phpdoc/en/faq/migration5.xml:1.4 phpdoc/en/faq/migration5.xml:1.5 --- phpdoc/en/faq/migration5.xml:1.4 Wed Jun 20 22:24:10 2007 +++ phpdoc/en/faq/migration5.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <chapter xml:id="faq.migration5" xmlns="http://docbook.org/ns/docbook"> <title>Migrating from PHP 4 to PHP 5</title> <titleabbrev>Migrating from PHP 4 to PHP 5</titleabbrev> @@ -72,7 +72,7 @@ the <emphasis>Zend Engine 2.0</emphasis>. The <link linkend="ini.zend.ze1-compatibility-mode"> zend.ze1_compatibility_mode</link> directive enables compatability - with the Zend Engine 1.0 (PHP 4). + with the <literal>Zend Engine 1.0</literal> (PHP 4). </para> <para> The new OOP model is documented in the <link linkend="language.oop5"> http://cvs.php.net/viewvc.cgi/phpdoc/en/faq/build.xml?r1=1.34&r2=1.35&diff_format=u Index: phpdoc/en/faq/build.xml diff -u phpdoc/en/faq/build.xml:1.34 phpdoc/en/faq/build.xml:1.35 --- phpdoc/en/faq/build.xml:1.34 Tue Feb 19 21:45:29 2008 +++ phpdoc/en/faq/build.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.34 $ --> +<!-- $Revision: 1.35 $ --> <chapter xml:id="faq.build" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Build Problems</title> <titleabbrev>Build Problems</titleabbrev> @@ -26,7 +26,7 @@ with the <literal>--enable-maintainer-mode</literal> option, the configure script will not automatically get rebuilt when the <filename>configure.in</filename> file is updated, so you should make sure to do that - manually when you notice configure.in has changed. One symptom + manually when you notice <filename>configure.in</filename> has changed. One symptom of this is finding things like @VARIABLE@ in your Makefile after configure or <filename>config.status</filename> is run.) </para> http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/wrappers.xml?r1=1.82&r2=1.83&diff_format=u Index: phpdoc/en/appendices/wrappers.xml diff -u phpdoc/en/appendices/wrappers.xml:1.82 phpdoc/en/appendices/wrappers.xml:1.83 --- phpdoc/en/appendices/wrappers.xml:1.82 Thu Mar 26 01:55:27 2009 +++ phpdoc/en/appendices/wrappers.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.82 $ --> +<!-- $Revision: 1.83 $ --> <appendix xml:id="wrappers" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>List of Supported Protocols/Wrappers</title> <para> @@ -1249,10 +1249,10 @@ <simpara> Files opened for reading via the <filename>ogg://</filename> wrapper - are treated as compressed audio encoded using the OGG/Vorbis codec. + are treated as compressed audio encoded using the <literal>OGG/Vorbis</literal> codec. Similarly, files opened for writing or appending via the <filename>ogg://</filename> wrapper are writen as compressed audio data. - <function>stream_get_meta_data</function>, when used on an OGG/Vorbis + <function>stream_get_meta_data</function>, when used on an <literal>OGG/Vorbis</literal> file opened for reading will return various details about the stream including the <parameter>vendor</parameter> tag, any included <parameter>comments</parameter>, the number of @@ -1337,7 +1337,7 @@ <constant>OGGVORBIS_PCM_U8</constant>, <constant>OGGVORBIS_PCM_S8</constant>, <constant>OGGVORBIS_PCM_U16_BE</constant>, <constant>OGGVORBIS_PCM_S16_BE</constant>, <constant>OGGVORBIS_PCM_U16_LE</constant>, and <constant>OGGVORBIS_PCM_S16_LE</constant>. - (8 vs 16 bit, signed or unsigned, big or little endian) + (8 vs 16 bit, signed or unsigned, big or little <literal>endian</literal>) </entry> <entry>OGGVORBIS_PCM_S16_LE</entry> <entry>Read</entry> http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/history.xml?r1=1.30&r2=1.31&diff_format=u Index: phpdoc/en/appendices/history.xml diff -u phpdoc/en/appendices/history.xml:1.30 phpdoc/en/appendices/history.xml:1.31 --- phpdoc/en/appendices/history.xml:1.30 Thu Apr 2 12:58:04 2009 +++ phpdoc/en/appendices/history.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.30 $ --> +<!-- $Revision: 1.31 $ --> <appendix xml:id="history" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>History of PHP and related projects</title> @@ -165,7 +165,8 @@ <title>PHP 5</title> <para> PHP 5 was released in July 2004 after long development and several - pre-releases. It is mainly driven by its core, the Zend Engine 2.0 with a + pre-releases. It is mainly driven by its core, the + <literal>Zend Engine 2.0</literal> with a new object model and dozens of other new features. </para> </sect2> @@ -187,8 +188,8 @@ <sect2 xml:id="history.pear"> <title>PEAR</title> <para> - <link xlink:href="&url.php.pear;">PEAR</link>, the PHP Extension and - Application Repository (originally, PHP Extension and Add-on + <link xlink:href="&url.php.pear;">PEAR</link>, the <literal>PHP Extension and + Application Repository</literal> (originally, PHP Extension and Add-on Repository) is PHP's version of foundation classes, and may grow in the future to be one of the key ways to distribute PHP extensions among developers. @@ -254,10 +255,10 @@ Hand-writing the interfaces to all the Gtk+ functions was out of the question, so I seized upon the idea of code-generator, similar to how PyGtk did it. The code generator is a PHP program that reads - a set of .defs file containing the Gtk+ classes, constants, and + a set of <filename>.defs</filename> file containing the Gtk+ classes, constants, and methods information and generates C code that interfaces PHP with them. What cannot be generated automatically can be written by - hand in .overrides file. + hand in <filename>.overrides</filename> file. </para> <para> Working on the code generator and the infrastructure took some http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/about.xml?r1=1.54&r2=1.55&diff_format=u Index: phpdoc/en/appendices/about.xml diff -u phpdoc/en/appendices/about.xml:1.54 phpdoc/en/appendices/about.xml:1.55 --- phpdoc/en/appendices/about.xml:1.54 Sun Jul 20 20:14:40 2008 +++ phpdoc/en/appendices/about.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.54 $ --> +<!-- $Revision: 1.55 $ --> <appendix xml:id="about" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>About the manual</title> @@ -325,7 +325,7 @@ <para> If an error is found in this manual, in any language, please report them using the bug system at <link xlink:href="&url.php.bugs;">&url.php.bugs;</link>. - Classify the bug as "Documentation Problem". All documentation related + Classify the bug as <literal>"Documentation Problem"</literal>. All documentation related problems, including those about manual formats, should be submitted as bug reports. </para> @@ -372,7 +372,7 @@ The tool used for formatting the online manual is <link xlink:href="&url.phd;">PhD</link>. We use <link xlink:href="&url.winhelp;">Microsoft HTML Help - Workshop</link> to generate the Windows HTML Help format + Workshop</link> to generate the <productname>Windows HTML Help</productname> format of the manual, and of course PHP itself to do some additional conversions and formatting. </para> http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration5.xml?r1=1.59&r2=1.60&diff_format=u Index: phpdoc/en/appendices/migration5.xml diff -u phpdoc/en/appendices/migration5.xml:1.59 phpdoc/en/appendices/migration5.xml:1.60 --- phpdoc/en/appendices/migration5.xml:1.59 Thu Sep 11 12:35:08 2008 +++ phpdoc/en/appendices/migration5.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.59 $ --> +<!-- $Revision: 1.60 $ --> <appendix xml:id="migration5" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Migrating from PHP 4 to PHP 5.0.x</title> <para> @@ -58,9 +58,9 @@ </listitem> <listitem> <simpara> - PATH_TRANSLATED server variable is no longer set implicitly under + <constant>PATH_TRANSLATED</constant> server variable is no longer set implicitly under Apache2 SAPI in contrast to the situation in PHP 4, where it is set to - the same value as the SCRIPT_FILENAME server variable when it is not + the same value as the <constant>SCRIPT_FILENAME</constant> server variable when it is not populated by Apache. This change was made to comply with the <link xlink:href="&url.cgispecs;">CGI specification</link>. Please refer to <link xlink:href="&url.php.bugs;23610">bug #23610</link> for further information, @@ -77,7 +77,7 @@ generate a notice. Although the <constant>T_ML_COMMENT</constant> was never used at all, it was defined in PHP 4. In both PHP 4 and PHP 5 // and /* */ are resolved as the <constant>T_COMMENT</constant> - constant. However the PHPDoc style comments /** */, which starting PHP + constant. However the PHPDoc style comments <literal>/** */</literal>, which starting PHP 5 are parsed by PHP, are recognized as <constant>T_DOC_COMMENT</constant>. </simpara> </listitem> @@ -89,7 +89,7 @@ If you have specifically configured your system to not create <varname>$_SERVER</varname>, then of course it shouldn't be there. The change was to always make <varname>argc</varname> - and argv available in the CLI version regardless of the + and <varname>argv</varname> available in the CLI version regardless of the <link linkend="ini.variables-order">variables_order</link> setting. As in, the CLI version will now always populate the global <varname>$argc</varname> and <varname>$argv</varname> variables. @@ -650,7 +650,7 @@ <listitem> <simpara> <function>dbx_fetch_row</function> - Fetches rows from a query-result - that had the DBX_RESULT_UNBUFFERED flag set + that had the <constant>DBX_RESULT_UNBUFFERED</constant> flag set </simpara> </listitem> <listitem> @@ -733,7 +733,7 @@ <listitem> <simpara> <function>pcntl_wait</function> - Waits on or returns the status of a - forked child as defined by the waitpid() system call + forked child as defined by the <literal>waitpid()</literal> system call </simpara> </listitem> <listitem> @@ -824,7 +824,7 @@ <listitem> <simpara> <link linkend="ini.register-long-arrays">register_long_arrays</link> - - allow/disallow PHP to register the deprecated long $HTTP_*_VARS + allow/disallow PHP to register the deprecated long <varname>$HTTP_*_VARS</varname> </simpara> </listitem> <listitem> @@ -910,15 +910,16 @@ <section xml:id='migrating5.errorrep'> <title>Error Reporting</title> <para> - As of PHP 5 new error reporting constant E_STRICT was introduced with - value 2048. It enables run-time PHP suggestions on your code - interoperability and forward compatibility, that will help you to keep + As of PHP 5 new error reporting constant <constant>E_STRICT</constant> + was introduced with value 2048. It enables run-time PHP suggestions on your + code interoperability and forward compatibility, that will help you to keep latest and greatest suggested method of coding. E.g. STRICT message will warn you on using deprecated functions. </para> <note> <simpara> - E_ALL does not include E_STRICT so it's not enabled by default + <constant>E_ALL</constant> does not include <constant>E_STRICT</constant> + so it's not enabled by default </simpara> </note> </section> http://cvs.php.net/viewvc.cgi/phpdoc/en/chapters/tutorial.xml?r1=1.55&r2=1.56&diff_format=u Index: phpdoc/en/chapters/tutorial.xml diff -u phpdoc/en/chapters/tutorial.xml:1.55 phpdoc/en/chapters/tutorial.xml:1.56 --- phpdoc/en/chapters/tutorial.xml:1.55 Sun Feb 15 12:05:00 2009 +++ phpdoc/en/chapters/tutorial.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-9"?> -<!-- $Revision: 1.55 $ --> +<!-- $Revision: 1.56 $ --> <chapter xml:id="tutorial" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <info><title>A simple tutorial</title></info> @@ -181,10 +181,10 @@ <info><title>A Note on Windows Notepad</title></info> <para> If you are writing your PHP scripts using Windows Notepad, you will need - to ensure that your files are saved with the .php extension. (Notepad adds - a .txt extension to files automatically unless you take one of the - following steps to prevent it.) When you save the file and are prompted - to provide a name for the file, place the filename in quotes + to ensure that your files are saved with the <filename>.php</filename> extension. + (Notepad adds a <filename>.txt</filename> extension to files automatically unless + you take one of the following steps to prevent it.) When you save the file and + are prompted to provide a name for the file, place the filename in quotes (i.e. "<filename>hello.php</filename>"). Alternatively, you can click on the 'Text Documents' drop-down menu in the 'Save' dialog box and change the setting to "All Files". You can then enter your filename without quotes. @@ -495,8 +495,8 @@ <emphasis>off</emphasis> by default in &php.ini;. The preferred method of accessing these values is via the superglobal arrays mentioned above. Older scripts, books, and tutorials may rely on this - directive being on. If it were on, for example, one could use - <varname>$id</varname> from the URL + directive being <literal>on</literal>. If it were <literal>on</literal>, + for example, one could use <varname>$id</varname> from the URL <literal>http://www.example.com/foo.php?id=42</literal>. Whether on or off, <varname>$_GET['id']</varname> is available. </simpara> http://cvs.php.net/viewvc.cgi/phpdoc/en/features/safe-mode.xml?r1=1.80&r2=1.81&diff_format=u Index: phpdoc/en/features/safe-mode.xml diff -u phpdoc/en/features/safe-mode.xml:1.80 phpdoc/en/features/safe-mode.xml:1.81 --- phpdoc/en/features/safe-mode.xml:1.80 Tue Dec 9 11:48:40 2008 +++ phpdoc/en/features/safe-mode.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.80 $ --> +<!-- $Revision: 1.81 $ --> <chapter xml:id="features.safe-mode" xmlns="http://docbook.org/ns/docbook"> <title>Safe Mode</title> @@ -144,10 +144,11 @@ </simpara> <simpara> The restriction specified is actually a prefix, not a directory name. - This means that "safe_mode_include_dir = /dir/incl" also allows - access to "/dir/include" and "/dir/incls" if they exist. When you + This means that "<literal>safe_mode_include_dir = /dir/incl</literal>" also allows + access to "<literal>/dir/include</literal>" and + "<literal>/dir/incls</literal>" if they exist. When you want to restrict access to only the specified directory, end with a - slash. For example: "safe_mode_include_dir = /dir/incl/" + slash. For example: "<literal>safe_mode_include_dir = /dir/incl/</literal>" </simpara> <simpara> If the value of this directive is empty, no files with different @@ -183,7 +184,8 @@ This directive contains a comma-delimited list of prefixes. In Safe Mode, the user may only alter environment variables whose names begin with the prefixes supplied here. By default, users will only be able to set - environment variables that begin with PHP_ (e.g. PHP_FOO=BAR). + environment variables that begin with <literal>PHP_</literal> + (e.g. <literal>PHP_FOO=BAR</literal>). </para> <note> <para> @@ -227,7 +229,7 @@ links are resolved, so it's not possible to avoid this restriction with a symlink. If the file doesn't exist then the symlink couldn't be resolved and the filename is compared to (a resolved) - <parameter>open_basedir</parameter>. + <option>open_basedir</option>. </para> <para> The special value <systemitem class="filesystem">.</systemitem> @@ -236,25 +238,25 @@ of the script can easily be changed with <function>chdir</function>. </para> <para> - In <filename>httpd.conf</filename>, open_basedir can be turned off + In <filename>httpd.conf</filename>, <option>open_basedir</option> can be turned off (e.g. for some virtual hosts) <link linkend="configuration.changes.apache">the same way</link> as - any other configuration directive with "php_admin_value open_basedir - none". + any other configuration directive with "<literal>php_admin_value open_basedir + none</literal>". </para> <para> Under Windows, separate the directories with a semicolon. On all other systems, separate the directories with a colon. As an Apache - module, open_basedir paths from parent directories are now + module, <option>open_basedir</option> paths from parent directories are now automatically inherited. </para> <para> - The restriction specified with open_basedir is actually a - prefix, not a directory name. This means that "open_basedir = - /dir/incl" also allows access to "/dir/include" and - "/dir/incls" if they exist. When you want to restrict access + The restriction specified with <option>open_basedir</option> is actually a + prefix, not a directory name. This means that "<literal>open_basedir + = /dir/incl</literal>" also allows access to "<literal>/dir/include</literal>" and + "<literal>/dir/incls</literal>" if they exist. When you want to restrict access to only the specified directory, end with a slash. For example: - "open_basedir = /dir/incl/" + <literal>open_basedir = /dir/incl/</literal> </para> <para> The default is to allow all files to be opened. @@ -330,7 +332,7 @@ -rw-r--r-- 1 root root 1116 May 26 18:01 /etc/passwd ]]> </programlisting> - Running script.php: + Running <filename>script.php</filename>: <programlisting role="php"> <![CDATA[ <?php @@ -367,7 +369,7 @@ </Directory> ]]> </programlisting> - If you run the same script.php with this + If you run the same <filename>script.php</filename> with this <link linkend="ini.open-basedir">open_basedir</link> setting then this is the result: <screen> @@ -590,7 +592,7 @@ </row> <row> <entry><function>apache_request_headers</function></entry> - <entry>In safe mode, headers beginning with 'authorization' + <entry>In safe mode, headers beginning with <literal>authorization</literal> (case-insensitive) will not be returned.</entry> </row> <row> http://cvs.php.net/viewvc.cgi/phpdoc/en/features/http-auth.xml?r1=1.52&r2=1.53&diff_format=u Index: phpdoc/en/features/http-auth.xml diff -u phpdoc/en/features/http-auth.xml:1.52 phpdoc/en/features/http-auth.xml:1.53 --- phpdoc/en/features/http-auth.xml:1.52 Sat Aug 23 15:40:19 2008 +++ phpdoc/en/features/http-auth.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.52 $ --> +<!-- $Revision: 1.53 $ --> <chapter xml:id="features.http-auth" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>HTTP authentication with PHP</title> @@ -7,7 +7,7 @@ The <acronym>HTTP</acronym> Authentication hooks in PHP are only available when it is running as an Apache module and is hence not available in the CGI version. In an Apache module PHP script, it is possible to use the - <function>header</function> function to send an "Authentication Required" + <function>header</function> function to send an <literal>"Authentication Required"</literal> message to the client browser causing it to pop up a Username/Password input window. Once the user has filled in a username and a password, the URL containing the PHP script will be called again with the @@ -211,20 +211,21 @@ </example> </para> <simpara> - This behavior is not required by the HTTP Basic authentication - standard, so you should never depend on this. Testing with Lynx - has shown that Lynx does not clear the authentication credentials - with a 401 server response, so pressing back and then forward - again will open the resource as long as the credential + This behavior is not required by the <literal>HTTP Basic</literal> + authentication standard, so you should never depend on this. Testing with + <literal>Lynx</literal> has shown that <literal>Lynx</literal> does not clear + the authentication credentials with a 401 server response, so pressing back + and then forward again will open the resource as long as the credential requirements haven't changed. The user can press the - '_' key to clear their authentication information, however. + <literal>'_'</literal> key to clear their authentication information, however. </simpara> <simpara> Also note that until PHP 4.3.3, HTTP Authentication did not work using Microsoft's IIS server with the CGI version of PHP due to a limitation of IIS. In order to get it to work in PHP 4.3.3+, - you must edit your IIS configuration "Directory Security". Click - on "Edit" and only check "Anonymous Access", all other fields + you must edit your IIS configuration "<literal>Directory Security</literal>". + Click on "<literal>Edit</literal>" and only check + "<literal>Anonymous Access</literal>", all other fields should be left unchecked. </simpara> <simpara> http://cvs.php.net/viewvc.cgi/phpdoc/en/features/remote-files.xml?r1=1.30&r2=1.31&diff_format=u Index: phpdoc/en/features/remote-files.xml diff -u phpdoc/en/features/remote-files.xml:1.30 phpdoc/en/features/remote-files.xml:1.31 --- phpdoc/en/features/remote-files.xml:1.30 Fri Nov 28 20:34:00 2008 +++ phpdoc/en/features/remote-files.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.30 $ --> +<!-- $Revision: 1.31 $ --> <chapter xml:id="features.remote-files" xmlns="http://docbook.org/ns/docbook"> <title>Using remote files</title> @@ -75,9 +75,9 @@ <para> To connect as a user other than 'anonymous', you need to specify the username (and possibly password) within the URL, such as - 'ftp://user:password@ftp.example.com/path/to/file'. (You can use the - same sort of syntax to access files via HTTP when they require Basic - authentication.) + '<literal>ftp://user:password@ftp.example.com/path/to/file</literal>'. + (You can use the same sort of syntax to access files via + <acronym>HTTP</acronym> when they require Basic authentication.) </para> <para> <example> http://cvs.php.net/viewvc.cgi/phpdoc/en/features/file-upload.xml?r1=1.96&r2=1.97&diff_format=u Index: phpdoc/en/features/file-upload.xml diff -u phpdoc/en/features/file-upload.xml:1.96 phpdoc/en/features/file-upload.xml:1.97 --- phpdoc/en/features/file-upload.xml:1.96 Mon Nov 10 11:29:14 2008 +++ phpdoc/en/features/file-upload.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.96 $ --> +<!-- $Revision: 1.97 $ --> <chapter xml:id="features.file-upload" xmlns="http://docbook.org/ns/docbook"> <title>Handling file uploads</title> @@ -398,8 +398,8 @@ that files with exotic names (like containing spaces) are handled properly. </simpara> <simpara> - A developer may not mix normal input fields and file upload fields in the same - form variable (by using an input name like <literal>foo[]</literal>). + A developer may not mix normal <literal>input</literal> fields and file upload fields in the same + form variable (by using an <literal>input</literal> name like <literal>foo[]</literal>). </simpara> </sect1> @@ -486,8 +486,8 @@ want a certain PHP script to handle the request. In Apache you do this with the <emphasis>Script</emphasis> directive. It can be placed almost anywhere in your Apache configuration file. A - common place is inside a <Directory> block or perhaps inside - a <VirtualHost> block. A line like this would do the trick: + common place is inside a <literal><Directory></literal> block or perhaps inside + a <literal><VirtualHost></literal> block. A line like this would do the trick: <informalexample> <programlisting> <![CDATA[ @@ -498,8 +498,8 @@ </para> <simpara> This tells Apache to send all PUT requests for URIs that match the - context in which you put this line to the put.php script. This - assumes, of course, that you have PHP enabled for the .php + context in which you put this line to the <filename>put.php</filename> script. This + assumes, of course, that you have PHP enabled for the <filename>.php</filename> extension and PHP is active. The destination resource for all PUT requests to this script has to be the script itself, not a filename the uploaded file should have. http://cvs.php.net/viewvc.cgi/phpdoc/en/features/xforms.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/features/xforms.xml diff -u phpdoc/en/features/xforms.xml:1.5 phpdoc/en/features/xforms.xml:1.6 --- phpdoc/en/features/xforms.xml:1.5 Sat Jun 30 14:14:03 2007 +++ phpdoc/en/features/xforms.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <chapter xml:id="features.xforms" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Dealing with XForms</title> <para> @@ -9,7 +9,7 @@ </para> <para> The first key difference in XForms is how the form is sent to the client. - <link xlink:href="&url.xforms.htmlauthors;">XForms for HTML Authors</link> + <link xlink:href="&url.xforms.htmlauthors;"><literal>XForms for HTML Authors</literal></link> contains a detailed description of how to create XForms, for the purpose of this tutorial we'll only be looking at a simple example. </para> @@ -45,13 +45,13 @@ Here's where it starts to look different from your web application's point of view. In a normal HTML form, the data would be sent as <literal>application/x-www-form-urlencoded</literal>, in the XForms world - however, this information is sent as XML formatted data. + however, this information is sent as <acronym>XML</acronym> formatted data. </para> <para> If you're choosing to work with XForms then you probably want that data as - XML, in that case, look in <varname>$HTTP_RAW_POST_DATA</varname> where - you'll find the XML document generated by the browser which you can pass - into your favorite XSLT engine or document parser. + <acronym>XML</acronym>, in that case, look in <varname>$HTTP_RAW_POST_DATA</varname> where + you'll find the <acronym>XML</acronym> document generated by the browser which you can pass + into your favorite <acronym>XSLT</acronym> engine or document parser. </para> <para> If you're not interested in formatting and just want your data to be loaded http://cvs.php.net/viewvc.cgi/phpdoc/en/features/commandline.xml?r1=1.56&r2=1.57&diff_format=u Index: phpdoc/en/features/commandline.xml diff -u phpdoc/en/features/commandline.xml:1.56 phpdoc/en/features/commandline.xml:1.57 --- phpdoc/en/features/commandline.xml:1.56 Tue Nov 18 03:57:54 2008 +++ phpdoc/en/features/commandline.xml Sat May 2 22:27:55 2009 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.56 $ --> +<!-- $Revision: 1.57 $ --> <chapter xml:id="features.commandline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Using PHP from the command line</title> <para> As of version 4.3.0, PHP supports a new - <literal>SAPI</literal> type (Server Application Programming Interface) + <literal>SAPI</literal> type (<literal>Server Application Programming Interface</literal>) named <literal>CLI</literal> which means <emphasis>Command Line Interface</emphasis>. As the name implies, this <literal>SAPI</literal> type main focus is on developing shell (or desktop as well) applications with @@ -132,7 +132,7 @@ <entry>&false;</entry> <entry> It can be quite hard to read the error message in your shell when - it's cluttered with all those meaningless <literal>HTML</literal> + it's cluttered with all those meaningless HTML tags, therefore this directive defaults to &false;. </entry> </row> @@ -729,7 +729,7 @@ out the results. If PHP is not working correctly, it is advisable to use <command>php -i</command> and see whether any error messages are printed out before or in place of the information tables. - Beware that when using the CGI mode the output is in <literal>HTML</literal> + Beware that when using the CGI mode the output is in <acronym>HTML</acronym> and therefore quite huge. </entry> </row> @@ -942,10 +942,10 @@ </para> <para> This option uses the internal mechanism to parse the file and produces - a <literal>HTML</literal> highlighted version of it and writes it to + a HTML highlighted version of it and writes it to standard output. Note that all it does it to generate a block of <literal><code> [...] </code></literal> - <literal>HTML</literal> tags, no <literal>HTML</literal> headers. + HTML tags, no HTML headers. </para> <note> <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/pecl.xml?r1=1.28&r2=1.29&diff_format=u Index: phpdoc/en/install/pecl.xml diff -u phpdoc/en/install/pecl.xml:1.28 phpdoc/en/install/pecl.xml:1.29 --- phpdoc/en/install/pecl.xml:1.28 Tue Apr 28 22:32:30 2009 +++ phpdoc/en/install/pecl.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.28 $ --> +<!-- $Revision: 1.29 $ --> <chapter xml:id="install.pecl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Installation of PECL extensions</title> @@ -228,17 +228,17 @@ </screen> </para> <para> - However, some web servers are confusing because they do not use the php.ini located alongside + However, some web servers are confusing because they do not use the <filename>php.ini</filename> located alongside your PHP executable. To find out where your actual <filename>php.ini</filename> resides, look for its path in <function>phpinfo</function>: <screen> <![CDATA[ -Configuration File (php.ini) Path C:\WINDOWS +Configuration File (php.ini) Path C:\WINDOWS ]]> </screen> <screen> <![CDATA[ -Loaded Configuration File C:\Program Files\PHP\5.2\php.ini +Loaded Configuration File C:\Program Files\PHP\5.2\php.ini ]]> </screen> </para> @@ -265,7 +265,7 @@ </para> <para> Common problems are the location of the DLL, the value of the "<link linkend="ini.extension-dir"> - extension_dir</link>" setting inside <literal>php.ini</literal> and compile-time setting mismatches. + extension_dir</link>" setting inside <filename>php.ini</filename> and compile-time setting mismatches. </para> <para> If the problem lies in a compile-time setting mismatch, you probably didn't download the right DLL. @@ -357,12 +357,12 @@ <simpara> If the system is missing the <literal>phpize</literal> command, and precompiled packages (like RPM's) are used, be sure to also install the appropriate - <literal>devel</literal> version of the PHP package as they often include the + devel version of the PHP package as they often include the <literal>phpize</literal> command along with the appropriate header files to build PHP and its extensions. </simpara> <simpara> - Execute <literal>phpize --help</literal> to display additional usage information. + Execute <command>phpize --help</command>to display additional usage information. </simpara> </sect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/macos/bundled.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/install/macos/bundled.xml diff -u phpdoc/en/install/macos/bundled.xml:1.4 phpdoc/en/install/macos/bundled.xml:1.5 --- phpdoc/en/install/macos/bundled.xml:1.4 Wed Nov 12 18:35:47 2008 +++ phpdoc/en/install/macos/bundled.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <sect1 xml:id="install.macosx.bundled" xmlns="http://docbook.org/ns/docbook"> <title>Using the bundled PHP</title> <simpara> @@ -40,8 +40,8 @@ <simpara> One way to open this is by using a Unix based text editor in the Terminal, for example <literal>nano</literal>, and because the - file is owned by root we'll use the <literal>sudo</literal> command - to open it (as root) so for example type the following into the + file is owned by <literal>root</literal> we'll use the <literal>sudo</literal> command + to open it (as <literal>root</literal>) so for example type the following into the <literal>Terminal</literal> Application (after, it will prompt for a password): <literal>sudo nano /etc/httpd/httpd.conf</literal> @@ -137,7 +137,7 @@ outputting them to the browser. A typical default path is <filename>/Library/WebServer/Documents</filename> but this can be set to anything in <filename>httpd.conf</filename>. Alternatively, the default - DocumentRoot for individual users is + <filename>DocumentRoot</filename> for individual users is <filename>/Users/yourusername/Sites</filename> </simpara> </listitem> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/solaris.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/install/unix/solaris.xml diff -u phpdoc/en/install/unix/solaris.xml:1.2 phpdoc/en/install/unix/solaris.xml:1.3 --- phpdoc/en/install/unix/solaris.xml:1.2 Wed Jun 20 22:24:11 2007 +++ phpdoc/en/install/unix/solaris.xml Sat May 2 22:27:55 2009 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect1 xml:id="install.unix.solaris" xmlns="http://docbook.org/ns/docbook"> - <title>Solaris specific installation tips</title> + <title><productname>Solaris</productname> specific installation tips</title> <para> This section contains notes and hints specific to installing - PHP on Solaris systems. + PHP on <productname>Solaris</productname> systems. </para> <sect2 xml:id="install.unix.solaris.required"> <title>Required software</title> <para> - Solaris installs often lack C compilers and their related tools. + <productname>Solaris</productname> installs often lack C compilers and their related tools. Read <link linkend="faq.installation.needgnu">this FAQ</link> for information on why using GNU versions for some of these tools is necessary. The required software is as follows: @@ -78,7 +78,7 @@ <sect2 xml:id="install.unix.solaris.packages"> <title>Using Packages</title> <simpara> - You can simplify the Solaris install process by using pkgadd to + You can simplify the <productname>Solaris</productname> install process by using pkgadd to install most of your needed components. </simpara> </sect2> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/fhttpd.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/install/unix/fhttpd.xml diff -u phpdoc/en/install/unix/fhttpd.xml:1.3 phpdoc/en/install/unix/fhttpd.xml:1.4 --- phpdoc/en/install/unix/fhttpd.xml:1.3 Wed Jun 20 22:24:11 2007 +++ phpdoc/en/install/unix/fhttpd.xml Sat May 2 22:27:55 2009 @@ -1,21 +1,22 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <sect1 xml:id="install.unix.fhttpd" xmlns="http://docbook.org/ns/docbook"> - <title>fhttpd related notes</title> + <title><productname>fhttpd</productname> related notes</title> <para> - To build PHP as an fhttpd module, answer "yes" to "Build as an - fhttpd module?" (the <link + To build PHP as an <productname>fhttpd</productname> module, + answer <literal>"yes"</literal> to <literal>"Build as an + fhttpd module?"</literal> (the <link linkend="configure.with-fhttpd"> --with-fhttpd</link>=<replaceable>DIR</replaceable> - option to configure) and specify the fhttpd source base + option to configure) and specify the <productname>fhttpd</productname> source base directory. The default directory is <filename class="directory">/usr/local/src/fhttpd</filename>. If you are - running fhttpd, building PHP as a module will give better + running <productname>fhttpd</productname>, building PHP as a module will give better performance, more control and remote execution capability. </para> <note> <simpara> - Support for fhttpd is no longer available as of PHP 4.3.0. + Support for <productname>fhttpd</productname> is no longer available as of PHP 4.3.0. </simpara> </note> </sect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/sun.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/install/unix/sun.xml diff -u phpdoc/en/install/unix/sun.xml:1.7 phpdoc/en/install/unix/sun.xml:1.8 --- phpdoc/en/install/unix/sun.xml:1.7 Sat Aug 23 15:40:20 2008 +++ phpdoc/en/install/unix/sun.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <sect1 xml:id="install.unix.sun" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Sun, iPlanet and Netscape servers on Sun Solaris</title> <para> @@ -60,7 +60,7 @@ </listitem> <listitem> <simpara> - <userinput>gunzip php-x.x.x.tar.gz</userinput> (if you have a .gz dist, + <userinput>gunzip php-x.x.x.tar.gz</userinput> (if you have a <filename>.gz</filename> dist, otherwise go to 4). </simpara> </listitem> @@ -291,7 +291,7 @@ <para> Another possibility is to generate self-made directory listings. Just create a PHP script which displays a directory listing and - replace the corresponding default Service line for + replace the corresponding default <literal>Service</literal> line for <literal>type="magnus-internal/directory"</literal> in <filename>obj.conf</filename> with the following: <programlisting> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/index.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/install/unix/index.xml diff -u phpdoc/en/install/unix/index.xml:1.10 phpdoc/en/install/unix/index.xml:1.11 --- phpdoc/en/install/unix/index.xml:1.10 Fri Apr 11 20:47:38 2008 +++ phpdoc/en/install/unix/index.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <chapter xml:id="install.unix" xmlns="http://docbook.org/ns/docbook"> <title>Installation on Unix systems</title> <para> @@ -58,7 +58,8 @@ </listitem> <listitem> <simpara> - Any module specific components (such as gd, pdf libs, etc.) + Any module specific components (such as <acronym>GD</acronym>, + <acronym>PDF</acronym> libs, etc.) </simpara> </listitem> </itemizedlist> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/caudium.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/install/unix/caudium.xml diff -u phpdoc/en/install/unix/caudium.xml:1.3 phpdoc/en/install/unix/caudium.xml:1.4 --- phpdoc/en/install/unix/caudium.xml:1.3 Wed Feb 20 02:24:54 2008 +++ phpdoc/en/install/unix/caudium.xml Sat May 2 22:27:55 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <sect1 xml:id="install.unix.caudium" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Caudium</title> <para> @@ -26,8 +26,8 @@ 9. If the documentation says that the 'PHP 4 interpreter isn't available', make sure that you restarted the server. If you did check /opt/caudium/logs/debug/default.1 for any errors related to - <filename>PHP4.so</filename>. Also make sure that - <filename>caudium/server/lib/[pike-version]/PHP4.so</filename> + PHP4.so. Also make sure that + caudium/server/lib/[pike-version]/PHP4.so is present. 10. Configure the PHP Script Support module if needed. ]]>