我一直在寻找过去几个小时内如何在自定义网站上使用phpBB登录脚本。我想我只是没有寻找正确的东西。phpBB自定义网站上的密码验证
前段时间,我创建了一个phpBB站点,并有超过900个成员通过phpBB注册。我目前正在翻译此网站,并重新进行用户注册以及我拥有的所有其他自定义代码。
我的问题是,我希望用户能像平常一样登录,但我想将它们输入到我的新数据库中,这样一切都可以平稳运行。我主要是需要他们的用户名,密码和旧编号,但我不知道如何使用phpBB的密码认证或在哪里可以找到它
声明需要看起来像这样:
On Login, grab username and password variables:
if the username is not in MY database, check phpBB database.
If the username is in phpBB database, check to see if the password is correct **(This is the part I don't know how to do)**
If the password is correct, input the username, user ID and the password (encrypted my way) into MY database
Login
If the password is incorrect - error
if the username is NOT in phpBB database - continue
if the username is not in MY database - input username and encrypted pass into my DB
login
我在哪里可以找到一个脚本来验证phpBB用户的密码?我不在乎脚本如何完成,我知道这是一个秘密,我只需要能够验证密码,以便我可以确保它是相同的用户
我有权访问phpBB数据库,我只是需要一种方法来验证自己的密码