Nikolas
Mon 10 September 2007, 07:25 am GMT +0200
olaf
Mon 10 September 2007, 08:16 am GMT +0200
... need to try your class first :)
Nikolas
Mon 10 September 2007, 09:30 am GMT +0200
Sure :)
BTW I would love to have a comment on the project from you ;)
olaf
Mon 10 September 2007, 09:40 am GMT +0200
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) :(
Nikolas
Mon 10 September 2007, 09:52 am GMT +0200
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 :)
olaf
Mon 10 September 2007, 10:18 am GMT +0200
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 :)
this is what I meant, it's very easy to convert that class to a php5 type (btw. there are more features than public and privat)