Roddez
Thu 6 November 2008, 05:38 am GMT +0100
Olaf,
Thank you for creating such a great resource and allowing amateurs like me to download and play with it.
I am creating a members website that I wish to secure. I also have some other PHP applications running to perform mailing list functions. My plan is to use the Access User Class to control access to pages, but with a modified registration processs that updates the auc_users table, as well as some other tables in the same database.
I have created my own registration form and my own cut down version of the access_user_class.php script just for use with the registration form. All other pages are your code, using the access_user_class.php script.
I have manged to get the registrations working with my code, but I am having issues with the validation e-mail.
I can successfully complete a registration (using my code) and when I look at my database table, I see a new row added with the same details as if I had used your registration page and the access_user_class.php script.
An e-mail is generated to the new user, with the activation link, however the md5 string in the URL that I have generated is different to what is generated when I use your native code. The curious thing is that when I click on my URL (the one with the incorrect md5 string), I am taken to the login.php screen and I get a message saying that "Your request has been processed. Please login to continue." An e-mail is also sent telling me that the account is now active. However, the active column in the database has not been updated from 'n' to 'y' and it is not possible to login.
As I mentioned, the only thing that I can see that is different is the md5 string that is used in the header of the e-mail. I thought that I understood which field you were using to create the md5 string in the URL, but I could be missing something. Any help you could offer would be appreciated.
Thank you for creating such a great resource and allowing amateurs like me to download and play with it.
I am creating a members website that I wish to secure. I also have some other PHP applications running to perform mailing list functions. My plan is to use the Access User Class to control access to pages, but with a modified registration processs that updates the auc_users table, as well as some other tables in the same database.
I have created my own registration form and my own cut down version of the access_user_class.php script just for use with the registration form. All other pages are your code, using the access_user_class.php script.
I have manged to get the registrations working with my code, but I am having issues with the validation e-mail.
I can successfully complete a registration (using my code) and when I look at my database table, I see a new row added with the same details as if I had used your registration page and the access_user_class.php script.
An e-mail is generated to the new user, with the activation link, however the md5 string in the URL that I have generated is different to what is generated when I use your native code. The curious thing is that when I click on my URL (the one with the incorrect md5 string), I am taken to the login.php screen and I get a message saying that "Your request has been processed. Please login to continue." An e-mail is also sent telling me that the account is now active. However, the active column in the database has not been updated from 'n' to 'y' and it is not possible to login.
As I mentioned, the only thing that I can see that is different is the md5 string that is used in the header of the e-mail. I thought that I understood which field you were using to create the md5 string in the URL, but I could be missing something. Any help you could offer would be appreciated.