note 72088 deleted from ref.session by danbrown

From: Date: Sun, 20 Jul 2008 16:45:00 +0000
Subject: note 72088 deleted from ref.session by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142196@lists.php.net to get a copy of this message
Note Submitter: ---- Bruno's shell script below is very helpful for those who want to customize their session storage. I would only warn that there is a typo in his instructions. He states that the script should be called as: ./mod_files.sh ./mod_files.sh /tmp/session 3 32 But you should only type mod_files.sh (or whatever the name of your script file is) once, not twice. It doesn't need its own name as an argument. Also - make sure you don't make the silly mistake I did of naming your script file "script" and then trying to call it with the argument: script /tmp/session 3 32 ...because "script" is the name of a real Unix function, which will launch a completely different function and then overwrite your original file with whatever you type after that. If you do that by accident, you will need to type "exit" to get out of the script recording mode, and then replace your script file. Also, you have to include the './' prior to the name (i.e. './mod_files.sh' instead of 'mod_files.sh') unless you are running the script from the folder where you installed it, because the location where you are installing this probably (hopefully!) isn't in your PATH shell variable.

« previous php.notes (#142196) next »