PHP Classes

PLZ PLA Help itz simple 4 u.. URGEST

Recommend this page to a friend!

      PHPBB Login Integration  >  All threads  >  PLZ PLA Help itz simple 4 u.. URGEST  >  (Un) Subscribe thread alerts  
Subject:PLZ PLA Help itz simple 4 u.. URGEST
Summary:Integration is not working .. Giving my simple code
Messages:1
Author:Dharam Patri
Date:2007-02-12 05:13:39
 

  1. PLZ PLA Help itz simple 4 u.. URGEST   Reply   Report abuse  
Picture of Dharam Patri Dharam Patri - 2007-02-12 05:13:39




// $uname is the user name who logged in & by mapping it with phpBB_users(hit_users for me) TABLE i am geting the user_id of phpBB table now also calling the login() function

NOTE : I am using phpBB2.0

$sql2 = "SELECT user_id,user_level from hit_users
where username='$uname'";
$result2=dbQuery($sql2);
$rows2 = dbFetchAssoc($result2);
$phpLogin = new PHPBB_Login();
$phpLogin->login($rows2['user_id']);