Topic: Punbb's user variables

I'm trying to make something for my forums and I need to know how the forums passes information from one page to another. I thought it would be session variables, but I was looking through the php files and I didn't see $_SESSION[''] anywhere. I need the $forum_user array so the page will work correctly.

2

Re: Punbb's user variables

Check ./include/functions.php, function cookie_login() wink

Eraversum - scifi browser-based online webgame

Re: Punbb's user variables

big_smile Thank you, Grez. Now I can finish my shop.

Re: Punbb's user variables

One more problem, when I'm trying to log users in, I'm getting a different hash than the one that's in the database. I included functions.php, and used the same function the forum does when it logs users in. But when I echo both hashes, they are different.

5 (edited by Grez 2012-01-02 21:29)

Re: Punbb's user variables

Are you sure you're using salt from the right user?

Eraversum - scifi browser-based online webgame

Re: Punbb's user variables

Yeah, pretty sure. I'll have it print out all the information it gets to make sure.