PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I haven't worked much with phpbb yet, but it sounds to me like you're just missing something. If you include all of the login code into any other page, it should work.
Burrito wrote:make sure you're including the page with session info.
do a search for session_start() and just include that file.
the other alternative would be to set the phpBB cookie and just use that...or set another cookie for your other site stuff and use that.
I did, and it was located in the page: sessions.php, which is included in the page common.php. so it should run the page. The weird thing is, it doesn't isplay anything, it just keep running the rest of the script.
Are you sure you are on the right domain. If you're forum domain is "forum.somesite.com" but your custom page on domain "somesite.com" you may not be accessing the right cookie. Thus you're not logged in. It can even be as subtle as "www.somesite.com" and "somesite.com".
i checked. the forum is located in the map ./forum/
and the session_start() is located in the map ./forum/includes, but that's the standard dir for phpbb
i haven't got a single clue of where the problem is located