fixing derick's bug/note

added new hash_functions and bits_per_character
PHP 5 only


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@151144 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2004-02-11 19:00:33 +00:00
parent 73a021b40d
commit cd74dacc4e
2 changed files with 59 additions and 8 deletions

View file

@ -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 @@ Action application/x-httpd-php "/php/php-cgi.exe"
<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>

View file

@ -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;
@ -125,6 +125,16 @@
<entry>"1"</entry>
<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>
@ -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>