Posts: 3,279
Threads: 170
Joined: Nov 2003
Anyone know how to make use of the phpBB cookie? I'm looking through the sourcecode for the forum and it's not very umm...how you say...clear.
It *looks* like it matches a certain piece of the cookie data against the database, but...?
In any event, what I'd like to do is figure out how to use the phpBB cookie to get the name of whoever might be logged in. This will be done via PHP. Any leads? Thanks in advance.
I'd knock on wood, but my desk is particle board.
Posts: 2,020
Threads: 24
Joined: Jun 2002
Cookies are just a set of variables. True, you can store a data structure, but just peek at the data, and see if one of the variables holds the users' id number or name.
It might just hold a session variable, though. In that case I'm not sure what you can do.
* toonski84 wishes he had his computer with its copy of phpbb...
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Posts: 4,307
Threads: 63
Joined: May 2003
mmm....cookies! BTW I was just wondering what is the difference between a normal cookie and a phpBB cookie?
Posts: 2,771
Threads: 96
Joined: Oct 2003
The normal ones are low fat. The PhpBB ones are super rich, creamy and have extra large choco chips in them. I wouldnt reccomend them if you have a coronary problem.
Posts: 3,279
Threads: 170
Joined: Nov 2003
OK...aetherfox had it all figured out. Thanks anyways guys.
btw...the phpBB cookie is chocolate chip, normal cookies are just nasty old oatmeal cookies with raisins. Eww.
I'd knock on wood, but my desk is particle board.
Posts: 4,307
Threads: 63
Joined: May 2003
wtf? Why are you all kidding around. I asked a serious question.
Posts: 6,419
Threads: 74
Joined: Mar 2002
TBBQ: PHPBB cookies are normal cookies. They have info related to PHPBB. Adosorken was asking about them 'cause he and aetherfox were portaling it to build the whole site. There is nothing special about PHPBB cookies.
Posts: 4,307
Threads: 63
Joined: May 2003
Thanx for clearing that up =)