Carol et al,
Okay...Everything seemed to be fine...Until I opened the database to the general public. Here are a few strange and weird things that have happened:
1) A user seemed to have created an account, yet when I looked in the .pass file, there is no email address in this user's account. This is what I have in the .pass file:
tinamc:0vJCG3qGjQgqc::1:1:1::
test:cjRyu6m9Jt6j2:1:1:1:1:0:test@anthrotech.com
I added twenty test accounts, and there were no problems.
The user stated that he received an email message with a password.
How did the user's email address suddenly disappear??
Also, I noticed in the admin_display that the email address field is blank for all users.
Is this normal? How can this be fixed?
2) When I created the test accounts, I noticed that I got the following error message when trying to use the same userid as an existing account:
userid already exists. Please try another.
That's normal. However, when I try to add an account that is the same as an email address already in the .pass file, I don't get an error message and the account is created.
Is this normal? How can I fix the sub signup routine to make sure that there are NOT duplicate email addresses?
I thought that the following codes check for duplicate email addresses in the .pass file:
$message .= "email address already exists.";
}
It does not seem to be working in my database. How can I fix this??
Thanks.
Regards,
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
[This message has been edited by Eliot (edited August 25, 1999).]
Okay...Everything seemed to be fine...Until I opened the database to the general public. Here are a few strange and weird things that have happened:
1) A user seemed to have created an account, yet when I looked in the .pass file, there is no email address in this user's account. This is what I have in the .pass file:
Code:
elee:bCezOq.aCPUjY:1:1:1:1:1:eliot@anthrotech.com tinamc:0vJCG3qGjQgqc::1:1:1::
test:cjRyu6m9Jt6j2:1:1:1:1:0:test@anthrotech.com
I added twenty test accounts, and there were no problems.
The user stated that he received an email message with a password.
How did the user's email address suddenly disappear??
Also, I noticed in the admin_display that the email address field is blank for all users.
Is this normal? How can this be fixed?
2) When I created the test accounts, I noticed that I got the following error message when trying to use the same userid as an existing account:
userid already exists. Please try another.
That's normal. However, when I try to add an account that is the same as an email address already in the .pass file, I don't get an error message and the account is created.
Is this normal? How can I fix the sub signup routine to make sure that there are NOT duplicate email addresses?
I thought that the following codes check for duplicate email addresses in the .pass file:
Code:
if ($in{'email'} eq $email) { $message .= "email address already exists.";
}
It does not seem to be working in my database. How can I fix this??
Thanks.
Regards,
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
[This message has been edited by Eliot (edited August 25, 1999).]