I too am having problems adding new users via login.php (see bsana1 and kmaxiumus posts). I've added one user (mmcpeak) by inputting the user info directly in the database and can login (i.e., I did not use login.php to add the user). However, when adding a new user via login.php, it doesn't work. It just presents the expanded login.php page (includes first name, last name, etc.) and does not submit any of the data to the database. Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, I have tried this fix and I am still having issues getting into the database. The weird part is that I have an account in the db that does work and lets me through. However creating new accounts from the login page still does not work, I am very close to getting this working and ANY help would be greatly appreciated!
Kmaximus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've got this app pretty much working at:
http://www.websitesbymaren.com/library2/index.php
I too am having problems adding new users via login.php (see bsana1 and kmaxiumus posts). I've added one user (mmcpeak) by inputting the user info directly in the database and can login (i.e., I did not use login.php to add the user). However, when adding a new user via login.php, it doesn't work. It just presents the expanded login.php page (includes first name, last name, etc.) and does not submit any of the data to the database. Any ideas?
try this in login.php
replace:
reg('POST','submit','username');
with:
reg('POST','submit','username','last_name','first_name','address_info');
if it works for you, i'll update the distribution
Worked like a charm. Thanks!
Ok, I have tried this fix and I am still having issues getting into the database. The weird part is that I have an account in the db that does work and lets me through. However creating new accounts from the login page still does not work, I am very close to getting this working and ANY help would be greatly appreciated!
Kmaximus