我一直在尋找過去幾個小時內如何在自定義網站上使用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數據庫,我只是需要一種方法來驗證自己的密碼