I am trying to integrate my login system made with PHP with the PHPBB Login system.
My problem is that I am including the PHP login document which contains a class called
Can you not change the variable?
Such as
<?php
include 'the/phpbb/core.pohp';
$phpbb_user = $user;
include 'my/login.pohp';
if($user->valid_uid($phpbb_user->uid))
{
}
?>
edits:
Can you add a second variable
Open common.php and find the following:
$user = new user();
add After
$backup_user = $user;
You could run your code in a function. Functions aren't passed global variables if you don't explicitly tell them ;)