Here's an odd question for you... my friend and I are trying to manually set a cookie in PHP that a PunBB forum would set if you logged in and checked "Stay Logged In" so that we can kind of trick our PunBB forum into thinking we logged in.
Example: (trying to make this clear) Lets say we have a page called makecookies.php. We want it so that we can go to makecookies.php, some random page taht's not related to the punBB forum, and it'll set a cookie on our computers that PunBB will recognize as though we had logged in sometime previous and checked the Stay Logged In button.
So... any ideas how to do this? We've looked through pages of code in the punBB files, and it's just...way above our heads. Setting cookies isn't the problem though... it's identifying the variables that the cookie needs to be set with for PunBB to recognize it. That's why I turn to you PunBB experts. Any help is greatly appreciated.



.
Reply With Quote



Bookmarks