note 77034 added to ref.session

From: Date: Sat, 11 Aug 2007 23:20:35 +0000
Subject: note 77034 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-129416@lists.php.net to get a copy of this message
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). :-) ---- Server IP: 208.69.120.35 Probable Submitter: 24.44.176.23 ---- Manual Page -- http://www.php.net/manual/en/ref.session.php Edit -- https://master.php.net/note/edit/77034 Del: integrated -- https://master.php.net/note/delete/77034/integrated Del: useless -- https://master.php.net/note/delete/77034/useless Del: bad code -- https://master.php.net/note/delete/77034/bad+code Del: spam -- https://master.php.net/note/delete/77034/spam Del: non-english -- https://master.php.net/note/delete/77034/non-english Del: in docs -- https://master.php.net/note/delete/77034/in+docs Del: other reasons-- https://master.php.net/note/delete/77034 Reject -- https://master.php.net/note/reject/77034 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129416) next »