Thanks for the reply. I removed the line as you said, but the forum still doesn't show me as logged in. About the 'phpbb_users' table statement, that's not an issue, I've managed to insert a new row into that table whenever someone signs up from my site's page. This means when they signup from my site, they're signed up at the forums too. It's the common login that's giving me problems.
If the login is correct (and I've checked the query, the user does exist in the 'phpbb_users' table), then shouldn't 'session_pagestart()' take care of creating all the sessions (for phpbb, of course), and hence show me logged into the forums?
Main Topics
Browse All Topics





by: AmigoJackPosted on 2007-07-03 at 03:28:23ID: 19409942
I'm not straight sure, but please test it again after deleting the line
id'], $_SERVER['REMOTE_ADDR'], PAGE_INDEX, FALSE, 0, 0);
$session_id = session_begin($arr1['user_
This is completely unnecessary, as session_pagestart() already does everything for you (either updating the session or creating a new one). I also did not understood your "insert a new row into the 'phpbb_users'"-issue - the register-pages of the forum itself do that already for you.
The PAGE_INDEX-constant is only important for tracing, you might care about them later at any time ;-)