cvs: phpdoc /en/reference/xslt/functions xslt-set-error-handler.xml /en/security cgi-bin.xml errors.xml intro.xml

From: Date: Sun, 19 Apr 2009 17:02:16 +0000
Subject: cvs: phpdoc /en/reference/xslt/functions xslt-set-error-handler.xml /en/security cgi-bin.xml errors.xml intro.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3809@lists.php.net to get a copy of this message
yannick Sun Apr 19 17:02:16 2009 UTC Modified files: /phpdoc/en/reference/xslt/functions xslt-set-error-handler.xml /phpdoc/en/security cgi-bin.xml errors.xml intro.xml Log: correct markup http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml diff -u phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml:1.9 phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml:1.10 --- phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml:1.9 Wed Jun 20 22:25:38 2007 +++ phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml Sun Apr 19 17:02:16 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry xml:id="function.xslt-set-error-handler" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>xslt_set_error_handler</refname> @@ -14,9 +14,9 @@ <methodparam><type>mixed</type><parameter>handler</parameter></methodparam> </methodsynopsis> <para> - Set an error handler function for the XSLT processor given by + Set an error handler function for the <acronym>XSLT</acronym> processor given by <parameter>xh</parameter>, this function will be called whenever an - error occurs in the XSLT transformation (this function is also called + error occurs in the <acronym>XSLT</acronym> transformation (this function is also called for notices). </para> </refsect1> @@ -29,7 +29,7 @@ <term><parameter>xh</parameter></term> <listitem> <para> - The XSLT processor link identifier, created with + The <acronym>XSLT</acronym> processor link identifier, created with <function>xslt_create</function>. </para> </listitem> http://cvs.php.net/viewvc.cgi/phpdoc/en/security/cgi-bin.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/security/cgi-bin.xml diff -u phpdoc/en/security/cgi-bin.xml:1.5 phpdoc/en/security/cgi-bin.xml:1.6 --- phpdoc/en/security/cgi-bin.xml:1.5 Wed Jun 20 22:25:41 2007 +++ phpdoc/en/security/cgi-bin.xml Sun Apr 19 17:02:16 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./index.xml, last change in rev 1.66 --> <chapter xml:id="security.cgi-bin" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Installed as CGI binary</title> @@ -10,7 +10,7 @@ Using PHP as a <acronym>CGI</acronym> binary is an option for setups that for some reason do not wish to integrate PHP as a module into server software (like Apache), or will use PHP with - different kinds of CGI wrappers to create safe chroot and setuid + different kinds of <acronym>CGI</acronym> wrappers to create safe chroot and setuid environments for scripts. This setup usually involves installing executable PHP binary to the web server cgi-bin directory. CERT advisory <link xlink:href="&url.cert;">CA-96.11</link> recommends @@ -101,7 +101,7 @@ </sect1> <sect1 xml:id="security.cgi-bin.force-redirect"> - <title>Case 2: using --enable-force-cgi-redirect</title> + <title>Case 2: using <literal>--enable-force-cgi-redirect</literal></title> <simpara> This compile-time option prevents anyone from calling PHP directly with a URL like <filename @@ -154,8 +154,8 @@ directive <link linkend="ini.doc-root">doc_root</link> in the <link linkend="configuration.file">configuration file</link>, or you can set the environment variable - <envar>PHP_DOCUMENT_ROOT</envar>. If it is set, the CGI version - of PHP will always construct the file name to open with this + <envar>PHP_DOCUMENT_ROOT</envar>. If it is set, the <acronym>CGI</acronym> + version of PHP will always construct the file name to open with this <parameter>doc_root</parameter> and the path information in the request, so you can be sure no script is executed outside this directory (except for <parameter>user_dir</parameter> http://cvs.php.net/viewvc.cgi/phpdoc/en/security/errors.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/security/errors.xml diff -u phpdoc/en/security/errors.xml:1.9 phpdoc/en/security/errors.xml:1.10 --- phpdoc/en/security/errors.xml:1.9 Wed Jun 20 22:25:41 2007 +++ phpdoc/en/security/errors.xml Sun Apr 19 17:02:16 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./index.xml, last change in rev 1.66 --> <chapter xml:id="security.errors" xmlns="http://docbook.org/ns/docbook"> <title>Error Reporting</title> @@ -97,8 +97,8 @@ One way of catching this issue ahead of time is to make use of PHP's own <function>error_reporting</function>, to help you secure your code and find variable usage that may be dangerous. - By testing your code, prior to deployment, with E_ALL, you can - quickly find areas where your variables may be open to poisoning + By testing your code, prior to deployment, with <constant>E_ALL</constant>, + you can quickly find areas where your variables may be open to poisoning or modification in other ways. Once you are ready for deployment, you should either disable error reporting completely by setting <function>error_reporting</function> to 0, or turn off the error http://cvs.php.net/viewvc.cgi/phpdoc/en/security/intro.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/security/intro.xml diff -u phpdoc/en/security/intro.xml:1.5 phpdoc/en/security/intro.xml:1.6 --- phpdoc/en/security/intro.xml:1.5 Wed Jun 20 22:25:41 2007 +++ phpdoc/en/security/intro.xml Sun Apr 19 17:02:16 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./index.xml, last change in rev 1.66 --> <chapter xml:id="security.intro" xmlns="http://docbook.org/ns/docbook"> <title>Introduction</title> @@ -10,7 +10,7 @@ commands and open network connections on the server. These properties make anything run on a web server insecure by default. PHP is designed specifically to be a more secure language for - writing CGI programs than Perl or C, and with correct selection of + writing <acronym>CGI</acronym> programs than Perl or C, and with correct selection of compile-time and runtime configuration options, and proper coding practices, it can give you exactly the combination of freedom and security you need.

« previous php.doc.cvs (#3809) next »