Re: [PHP] How YaBB logs in

2002-05-15 Thread Rasmus Lerdorf
You can't. You have to have the non-crypted password which you then run the crypt() function on. Say the password is banana. You then run: crypt('banana','ba') => baGGlRhhSFzk2 crypt('banana','ys') => ysu0jnfX9fp2. You make sure these two match the two crypted strings stored in the

[PHP] How YaBB logs in

2002-05-15 Thread Matthew Ward
I'm currently integrating my site with YaBB so that when you log into my YaBB forums it also logs you into the whole site. I'm also developing a script that I'm integrating into my main page that checks the password in the cookie with the one in the database as a security check. The problem is, t