Re: [PHP] help with some logic.

2006-04-06 Thread Dallas Cahker
Thanks makes it alot easier to follow. On 4/4/06, Dallas Cahker [EMAIL PROTECTED] wrote: Okay I'll look at that. What about switching to setting the password in md5 format in the cookie rather then a regular id. I might not call the cookie password but to me in thinking about it seems like

[PHP] help with some logic.

2006-04-04 Thread Dallas Cahker
I've been looking at this code for a few hours now and I get the nagging feeling that I am overcomplicating something, something I never ever do. I have a login that puts some information on the session, and if the customer wants they can ask to be remembered, the cookie is given the customers

Re: [PHP] help with some logic.

2006-04-04 Thread Dan McCullough
hey Dallas, have you thought about breaking this up and making two seperate functions one the checks the cookie and one that checks the session information? I'm not sure if that is what you were looking for as far as an answer but it might be a good start. On 4/4/06, Dallas Cahker [EMAIL

Re: [PHP] help with some logic.

2006-04-04 Thread Dallas Cahker
Okay I'll look at that. What about switching to setting the password in md5 format in the cookie rather then a regular id. I might not call the cookie password but to me in thinking about it seems like the same thing as setting a random id and then saving the random id in the db. On 4/4/06, Dan