INSTALLATION (6 easy steps) make sure to take a look at Readme.txt for extra information which will be helpful to you when you are installing and configuring this cgi program. 1. Place this script in your cgi bin directory. 2. Change permissions on this script to 755 on linux/unix systems by using your FTP client software, or from a command line shell by typing the following command after entering the directory where this script is located: chmod 755 chpw.pl 3. Create a subdirectory inside your cgi-bin directory named 'modules' and place the modules which came with this script into that directory. You can tell which files are modules because they have a .pm file suffix. If you already have a subdirectory in your cgi-bin named 'modules', just put the modules which came with this script into that directory and everything will work just fine. 4. Create a subdirectory inside your cgi-bin directory named 'udata' and place the text file which came with this script into that directory. If you already have a subdirectory in your cgi-bin named 'udata', just put the text file which came with this script into that directory and everything will work just fine. 5. This script will use the text file as a database. This means that the script must be able to read and write to that file. On linux and unix type servers, you will have to adjust the permissions on the udata directory and the userdata.txt file to 777 in most cases. To change permissions on the udata directory and the userdata.txt text file to 777 on linux/unix systems, tryusing your FTP client software, or from a command line shell like bash or sh over telnet. In the shell type the following commands after entering the directory containing your udata subdirectory: chmod 777 udata chmod 777 udata/userdata.txt This will not pose a security risk so long as your cgi bin is not a subdirectory of your root webserver directory. The root webserver directory is often named 'htdocs', 'public_html', 'webserver', or something like that. If your cgi bin directory is a subdirectory of your root webserver directory, you can still make the udata directory outside of the cgi-bin as long as you edit this script so that it will look in the right place for the udata directory. This is accomplised by editing the hash variable set up immediately under the section header labled: # ---------------------------------- # setup Directories # ---------------------------------- 6. Create a subdirectory inside your cgi-bin directory named 'templates' and place the all html files which came with this script into that directory except for form_template.html which is the html page which you will use to implement the form on your website which collects the user's information in order to change their password. Place form_template.html anywhere on your website that you like, and link to it from your other pages. You can tell which files are html files because they have a .html file suffix. If you already have a subdirectory in your cgi-bin named 'templates', just put the html files which came with this script into thatdirectory and everything will work just fine.