B
BG
First, I apologize if this is not the right group to be asking this
question, but I am EXTREMELY new to perl and MySql both and am at a loss for
where to go.
I run a web site that has a member sign up area. The data from the sign-up
form is all stored in a MySql Database (First Name, Last Name, Username,
Password, Email Address, etc). Unfortunately our site does not currently
include an option for members to be able to change their email address or
password without Admin intervention. With the site growing rapidly
completing password/email address change requests is becoming quite tedious.
To make matters worse, my partner that did all the perl scripts was injured
in an accident and will not be available for some time.
Could anyone please offer some assistance in how I can create a form that
will take the current username/password along with the requested change
password and/or email and update the appropriate record/table in the MySql
database.
I know the basic functions that need to be completed would be:
1) Compare entered username and password to database to confirm the user is
authorized to make the change.
2) If it is a match, update password and/or email field with new data from
form and return to specified page.
3) If no match, return user to page with error that username and password
did not match.
Problem is while this is probably a simple task to those familiar with perl,
I am clueless to how to achieve this. While I am trying to learn as time
permits, this is still way beyond me.
Any help is appreciated.
Bryan
question, but I am EXTREMELY new to perl and MySql both and am at a loss for
where to go.
I run a web site that has a member sign up area. The data from the sign-up
form is all stored in a MySql Database (First Name, Last Name, Username,
Password, Email Address, etc). Unfortunately our site does not currently
include an option for members to be able to change their email address or
password without Admin intervention. With the site growing rapidly
completing password/email address change requests is becoming quite tedious.
To make matters worse, my partner that did all the perl scripts was injured
in an accident and will not be available for some time.
Could anyone please offer some assistance in how I can create a form that
will take the current username/password along with the requested change
password and/or email and update the appropriate record/table in the MySql
database.
I know the basic functions that need to be completed would be:
1) Compare entered username and password to database to confirm the user is
authorized to make the change.
2) If it is a match, update password and/or email field with new data from
form and return to specified page.
3) If no match, return user to page with error that username and password
did not match.
Problem is while this is probably a simple task to those familiar with perl,
I am clueless to how to achieve this. While I am trying to learn as time
permits, this is still way beyond me.
Any help is appreciated.
Bryan