I needed to quickly authenticate some phpBB3 users in a Flex application, and figured that it’d be no problem. Boy, was I wrong. phpBB does some neat dynamic password hashing trick that, to someone with no php experience like myself, looked to be too complex to emulate in CF.
After some searching, I found this post with tips on how to do it with CFEXECUTE. Unfortunately, I couldn’t quite get that to work, but I ended up rolling my own, with the help of some guys in #flex.
Download the sample code here.
remote_login.php and assoc_array2xml.php go in the root of your phpbb3 install.
Hope this saves a bunch of people a lot of time.







Okay I’m a neub, and just looking at this. I use phpBB3 but want the rest of my site CF. What file name did you give the code going into the phpBB root or was it placed in a file?
ok that works, but how do you then do you add new users to the phpbb system with coldfusion??? i tried using the user_add() function with no luck…
@Matt: It doesn’t matter what you name the PHP file, just make sure it’s in the root of your phpBB3 directory.
@Panther893: I didn’t try to add users via ColdFusion… Part of the purpose of doing the authentication against phpBB3 was so I didn’t have to create a user signup or admin.
Thanks for posting this. It probably saved me a great deal of time.
Just wanted to say thanks for sharing as well
I have a flash site
i’m looking for the script who shows google adsense on flash.
do you know this script?