Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #3 on: Sep 10, 2007, 09:40:19 am »
nice login script, you should add some email account activation feature, forgot password, email validation (the e-mail is the key for all login scripts)
Your class is nicely written and its very easy to re-write the code for php5 (that's maybe difficult with my own project)
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #4 on: Sep 10, 2007, 09:52:13 am »
The activation works, I just don't have any example. But there is an active field which the class uses and it wont login a user if it is not set to 1.
For the next versions I will add some email validation function and more examples (maybe a script which will do all those stuff with the class)
The code works with php5 but I thought to write it in a way to work with php4 too. If you replace "var" with "public" the class will be pure php 5