Results 1 to 3 of 3

Thread: Calling all PunBB experts..

  1. #1
    Join Date
    Feb 2006
    Posts
    158
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Calling all PunBB experts..

    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 .

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You can use FireFox and download the web devolpers toolbar which will allow you to add your own cookies on domain names that aren't yours. But any good forums will require something in the cookie encrypted, maybe the password, the user, or the date (to check against the database). I don't think its possible, sorry.
    Jeremy | jfein.net

  3. #3
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    out of curiosity, why would you want to? or do I want to know...

    why don't you just register on the site and check "Stay Logged In"?

  4. The Following User Says Thank You to traq For This Useful Post:

    chetanmadaan (05-31-2009)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •