Topic: Manual Login

Is there any way that I can manually log in a user using PHP and the database?

I'm trying to integrate PunBB into a CMS some folks here at work developed that utilizes a single-sign-on procedure. I get the usernames and passwords from the single-sign-on sever, not PunBB. They would be identical in both systems though. But, I want to make a page so once they're logged into our custom system, I can have some PHP code that logs them into PunBB and forwards them to the forum home.

I've tried this with Simple Machines (SMF,simplemachines.org) but I haven't had any luck. Any help would be greatly appreciated!

Re: Manual Login

Well, if you have the right cookie you're online =P

Re: Manual Login

How do I set the cookie? That's the approach the SMF people told me to work on and I hit a dead-end.

Re: Manual Login

I'd advise you to look in functions.php smile

Re: Manual Login

Snap... thanks! I'll check it out and report back!