nlopess Wed Feb 11 14:00:33 2004 EDT
Modified files:
/phpdoc/en/appendices migration5.xml
/phpdoc/en/reference/session ini.xml
Log:
fixing derick's bug/note
added new hash_functions and bits_per_character
PHP 5 only
http://cvs.php.net/diff.php/phpdoc/en/appendices/migration5.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/appendices/migration5.xml
diff -u phpdoc/en/appendices/migration5.xml:1.6 phpdoc/en/appendices/migration5.xml:1.7
--- phpdoc/en/appendices/migration5.xml:1.6 Tue Feb 10 13:39:07 2004
+++ phpdoc/en/appendices/migration5.xml Wed Feb 11 14:00:31 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<appendix id="migration5">
<title>Migrating from PHP 4 to PHP 5</title>
@@ -408,16 +408,18 @@
<function>mail</function>, even in safe mode
</simpara></listitem>
<listitem><simpara>
- <link linkend="ini.register-long-arrays">register_long_arrays</link> -
- allow/disallow PHP to register the deprecated long $HTTP_*_VARS
+ <link linkend="ini.register-long-arrays">register_long_arrays</link> -
+ allow/disallow PHP to register the deprecated long $HTTP_*_VARS
</simpara></listitem>
<listitem><simpara>
- session.hash_function - select a hash function (MD5 or SHA-1)
+ <link linkend="ini.session.hash-function">session.hash_function</link> -
+ select a hash function (MD5 or SHA-1)
</simpara></listitem>
<listitem><simpara>
- session.hash_bits_per_character - define how many bits are stored in
- each character when converting the binary hash data to something
- readable (from 4 to 6)
+ <link
+
linkend="ini.session.hash-bits-per-character">session.hash_bits_per_character</link>
+ - define how many bits are stored in each character when converting the
+ binary hash data to something readable (from 4 to 6)
</simpara></listitem>
</itemizedlist>
</section>
http://cvs.php.net/diff.php/phpdoc/en/reference/session/ini.xml?r1=1.20&r2=1.21&ty=u
Index: phpdoc/en/reference/session/ini.xml
diff -u phpdoc/en/reference/session/ini.xml:1.20
phpdoc/en/reference/session/ini.xml:1.21
--- phpdoc/en/reference/session/ini.xml:1.20 Mon Feb 9 12:21:30 2004
+++ phpdoc/en/reference/session/ini.xml Wed Feb 11 14:00:33 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.20 $ -->
+<!-- $Revision: 1.21 $ -->
<section id="session.configuration">
&reftitle.runtime;
&extension.runtime;
@@ -126,6 +126,16 @@
<entry>PHP_INI_ALL</entry>
</row>
<row>
+ <entry>session.hash_function</entry>
+ <entry>"0"</entry>
+ <entry>PHP_INI_ALL</entry>
+ </row>
+ <row>
+ <entry>session.hash_bits_per_character</entry>
+ <entry>"4"</entry>
+ <entry>PHP_INI_ALL</entry>
+ </row>
+ <row>
<entry>url_rewriter.tags</entry>
<entry>"a=href,area=href,frame=src,input=src,form=fakeentry"</entry>
<entry>PHP_INI_ALL</entry>
@@ -563,6 +573,45 @@
</listitem>
</varlistentry>
+ <varlistentry id="ini.session.hash-function">
+ <term>
+ <parameter>session.hash_function</parameter>
+ <type>integer</type>
+ </term>
+ <listitem>
+ <simpara>
+ <literal>session.hash_function</literal> allows you to specify the hash
+ algorithm used to generate the session IDs. '0' means MD5 (128 bits) and
+ '1' means SHA-1 (160 bits).
+ </simpara>
+ <note>
+ <para>
+ This was introduced in PHP 5.
+ </para>
+ </note>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="ini.session.hash-bits-per-character">
+ <term>
+ <parameter>session.hash_bits_per_character</parameter>
+ <type>integer</type>
+ </term>
+ <listitem>
+ <simpara>
+ <literal>session.hash_bits_per_character</literal> allows you to define
+ how many bits are stored in each character when converting the binary
+ hash data to something readable. The possible values are '4' (0-9, a-f),
+ '5' (0-9, a-v), and '6' (0-9, a-z, A-Z, "-", ",").
+ </simpara>
+ <note>
+ <para>
+ This was introduced in PHP 5.
+ </para>
+ </note>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="ini.url-rewriter.tags">
<term>
<parameter>url_rewriter.tags</parameter>