Hi!
I've just joined this forum after trying to figure out DBMan on my own -- NOT! I have a bit of programming experience, and I know HTML, but I'm totally new to PERL and CGI.
I run a website for a non-profit support group and am creating a membership directory (database of member profiles) with the following non-admin features:
1. In order to become a member, you must sign up (create userID and password), login, and create your own profile (record). I'd prefer this be done with one form, but that seems like it would require a major rewrite.
2. Anyone can join without admin approval, but you must become a member before you can search for and view other members' profiles.
3. You can only modify or delete your own record.
4. Only one record per member is allowed, so the add_record routine should only be accessed during the initial registration, and the delete routines should also delete the member's UserID and password from the file default.pass (which I have renamed members.pass).
Is anyone else out there working on this kind of application?
Are there any documented mods I should know about?
Here is my current dilemma...
I'm trying to redo the html_footer subroutine of html.pl (the 'user friendly' version) so that non-admin users get these links:
'SEARCH database', 'VIEW your record', 'MODIFY your record', and 'DELETE your record'
instead of the usual View, Delete, and Modify, which force a search even if only the user's record is desired. How do I make my VIEW, MODIFY, and DELETE links send the user straight to their own record or record form?
Thanks in advance, and special thanks to JPD for a job well done!
Scott Noelle
mailto:noelles@teleport.com
I've just joined this forum after trying to figure out DBMan on my own -- NOT! I have a bit of programming experience, and I know HTML, but I'm totally new to PERL and CGI.
I run a website for a non-profit support group and am creating a membership directory (database of member profiles) with the following non-admin features:
1. In order to become a member, you must sign up (create userID and password), login, and create your own profile (record). I'd prefer this be done with one form, but that seems like it would require a major rewrite.
2. Anyone can join without admin approval, but you must become a member before you can search for and view other members' profiles.
3. You can only modify or delete your own record.
4. Only one record per member is allowed, so the add_record routine should only be accessed during the initial registration, and the delete routines should also delete the member's UserID and password from the file default.pass (which I have renamed members.pass).
Is anyone else out there working on this kind of application?
Are there any documented mods I should know about?
Here is my current dilemma...
I'm trying to redo the html_footer subroutine of html.pl (the 'user friendly' version) so that non-admin users get these links:
'SEARCH database', 'VIEW your record', 'MODIFY your record', and 'DELETE your record'
instead of the usual View, Delete, and Modify, which force a search even if only the user's record is desired. How do I make my VIEW, MODIFY, and DELETE links send the user straight to their own record or record form?
Thanks in advance, and special thanks to JPD for a job well done!
Scott Noelle
mailto:noelles@teleport.com