note 77034 deleted from ref.session by danbrown

From: Date: Sun, 20 Jul 2008 16:36:24 +0000
Subject: note 77034 deleted from ref.session by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142187@lists.php.net to get a copy of this message
Note Submitter: nn162077php at smallcue dot com ---- Bruno's posting of mod_files works for default (16) or 32, but it doesn't work for 64. The following isn't great code since I'm not a great shell coder, but it does work better. It replaces the middle section of Bruno's script hash_chars="0 1 2 3 4 5 6 7 8 9 a b c d e f" if test "$3" ; then if test "$3" -eq "32"; then hash_chars="$hash_chars g h i j k l m n o p q r s t u v" fi if test "$3" -eq "64"; then hash_chars="$hash_chars g h i j k l m n o p q r s t u v" hash_chars="$hash_chars w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z - ," fi fi His posting should be updated (and mine should be removed). :-)

« previous php.notes (#142187) next »