Re: To check for existing user in database
| From: | John Corry | Date: | Thu, 15 Jan 2009 18:54:06 +0000 |
| Subject: | Re: To check for existing user in database | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286453@lists.php.net to get a copy of this message | ||
You might want to (seriously) look at the PEAR Auth class.
It can save you a TON of time...all the stuff you're trying to do with
this code (that you were just told you're going to have to rewrite) is
already done for you.
It's very handy for registering/tracking users of your sites.
John Corry
On Thu, Jan 15, 2009 at 1:43 PM, Daniel Brown <danbrown@php.net> wrote:
> Welcome to the list, Chris.
>
> Your code is going to require some rewriting to save you a lot of
> headaches and serious security issues down the road. So here we go: