|
|
Member Manager
- Readme File
---- Overview ----
This program allows you to manage members using closed
directories. You must
be able to use .htaccess in order to use this program.
This is a basic (very basic) management script to add and remove
members from
.htgroup and .htpasswd files.
---- Installation ----
This script requires the library file cgi-lib.pl and mail-lib.pl
and expects these files to be in the same directory as the
member_manager.cgi
If you place the library files in another directory the path must
be specified correctly,
and will be something like
/home/user/path/to/the/file/cgi-lib.pl
Now lets take each variable one at a time.
Set your user name and password...
$user_name = 'whatever';
$pass = 'something';
##########
$location_of_cgi_lib = "./cgi-lib.pl";
$location_of_mail_lib = "./mail-lib.pl";
These will change only if you put the files in a different
directory.
If it is with the main script, this won't need changing
##########
Your address -->
Don't forget to slash the @ like this you\@youraddress.com
$script_owners_address ="members\@veinotte.com";
$mail_administrator = 0;
$mail_administrator -- 1 is on 0 is off.
This is to mail a copy of user names and passwords when new
members are added. Sends you their plain password, as well as
the crypted version, and the username... each time a new one is
added.
$location_of_members_list = "/home/user";
$group_file = "\.htgroup";
$location_of_password_file = "/home/user";
$pass_word_file = "\.htpasswd";
The members_list should be somewhere safe.. like above your
www directory. If this is not possible, then somewhere in your
cgi-bin (if your server doesn't allow indexing of the cgi-bin that
is)
The same applies for your .htpasswd and .htgroup files
A sample of these files is included with this package.
You can install them as the are if you wish, and then
remove the entries in them from the script...
The .htaccess file goes inside the directory that you wish to
lock,
but I guess if you have this script you know all that already.
###################################
# That should be it for the set-up. Make sure your
# script is chmoded 755 and that it can write to
# the group and password files. They may need to be
# chmoded 666 But only if the default (644) will not
# allow a script to write to them on your system...
####################################
Questions? Check the new discussion forums here:
http://forums.veinotte.com
If you require additional support, you may purchase a
members area subscription here.
Like our scripts but don't need support? Help us
keep offering free programs by making a donation!
|
Join
our mailing list to be notified of upgrades,
bug reports and new product additions.
Enter your email address below.
You
can remove yourself at any time
http://odt.veinotte.com
|