For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > June 2004 > #28644 [NEW]: mod_files.sh generates incorrect directories with hash_bits_per_charact









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #28644 [NEW]: mod_files.sh generates incorrect directories with hash_bits_per_charact
Dharana At Dharana Dot Net

2004-06-05, 3:56 pm

From: dharana at dharana dot net
Operating system: Linux
PHP version: 5.0.0RC2
PHP Bug Type: Documentation problem
Bug description: mod_files.sh generates incorrect directories with hash_bits_per_character != 0

Description:
------------
ext/session/mod_files.sh is a simple script used to generate a dir tree
for storing sessions in files. If you use session.hash_bits_per_character
= 5 or session.hash_bits_per_character = 6 php will fail to write some
sessions.

Expected result:
----------------
The script should either:
a) ask the user for the session.hash_bits_per_character as a third
optional argument
b) read it from the php.ini

Actual result:
--------------
The directories created will cause some sessions to be lost.

--
Edit bug report at http://bugs.php.net/?id=28644&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28644&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28644&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28644&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28644&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28644&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28644&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28644&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28644&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28644&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28644&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28644&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28644&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28644&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28644&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28644&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28644&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28644&r=float
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com