Logging into bbpress account from external script
- 
		I’m installing bbPress on a website that is mainly flashbased, and I need the users to be able to login via a form placed inside the frontpage.swf file. This is usually easy: all that’s necessary is a .php file that communicates with the flash, that basically looks like this: if($_POST == $correct_username && $_POST == $correct_password){ echo(“loggedin=true”); } else { echo(“loggedin=false”); } Flash will then read the variable returned and work from there. The issue is that I can’t figure out how to verify the data against the users table. I’ve studied bb-login.php and login.php, but I still can’t find the code that does the actual logging in – the code that checks the password against the encrypted one in the database, sets the cookie, etcetera. Could someone point me in the right direction? 
- You must be logged in to reply to this topic.