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@xxxxxxx> 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: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php