RE: [PHP] user registration class
| From: | Marc Burgauer | Date: | Thu, 07 Sep 2000 15:23:04 +0000 |
| Subject: | RE: [PHP] user registration class | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15732@lists.php.net to get a copy of this message | ||
Hmm.. I might get hammered for saying this but if you intend to build lots
of sites, I think you should write your own and just build upon the stuff
that PHP (ideally version 4 as session variables are a good thing) offers.
Why?
I looked at bout 10 existing classes/script collections - I didn't really
liked any. In some cases the data model was crap, in other cases some
crucial functions were missing and the documentation not good enough to
easily adding them. And so on and on. I now have my own and it's far from
perfect. But I know it inside out and it fits the way *I* see a web
application.
I do recommend that you look at some available stuff. (PHPLIB inspired great
thoughts and I even copied some code snippets.) The risk when writing your
own is that nobody can help you to get your security right. So keep an eye
on what mechanisms others have used. (I re-engineered a lot of good ideas.)
If you really can't be bothered, use PHPLIB: It does a lot this stuff. It
has a lot of users, so is pretty secure and stable and you can find help in
case you run into problems.
Cheers
Marc
> -----Original Message-----
> From: Peter Van Dijck [SMTP:peter@vardus.com]
> Sent: Thursday, September 07, 2000 4:03 PM
> To: php-general@lists.php.net
> Subject: [PHP] user registration class
>
> Hi,
> I need to set up a solid system where users can register, get passwords,
> get diferent levels of access, lost your password?, unsubscribe, ... and
> so
> on. I want to set it up and use it in several future websites. But I'm
> sure
> this code must have been written so many times before already.
>
> So what would be the best class/group of functions to build on?
> Thanks all,
> Peter
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>