I am trying to integrate the phpbb user database for my whole site.
Here's the code I used and the error I got. Any help would be
appreciated.
Fatal error: Call to undefined function: session_pagesta rt() in
/homepages/9/d99062755/htdocs/index.php on line 90
Code:
</head>
<?php
define('IN_PHPB B', true);
$site_root_path = 'http://www.YeahThatRoc ks.com';
$phpbb_root_pat h2 = '/bb/';
$phpbb_root_pat h = $site_root_path . $phpbb_root_pat h2;
include($phpbb_ root_path . 'extension.inc' );
include($phpbb_ root_path . 'common.php');
$userdata = session_pagesta rt($user_ip, PAGE_INDEX);
init_userprefs( $userdata);
if( $userdata['session_logged _in'] )
{
echo('Hello');
}
else
{
echo('Please Login');
}
?>
Here's the code I used and the error I got. Any help would be
appreciated.
Fatal error: Call to undefined function: session_pagesta rt() in
/homepages/9/d99062755/htdocs/index.php on line 90
Code:
</head>
<?php
define('IN_PHPB B', true);
$site_root_path = 'http://www.YeahThatRoc ks.com';
$phpbb_root_pat h2 = '/bb/';
$phpbb_root_pat h = $site_root_path . $phpbb_root_pat h2;
include($phpbb_ root_path . 'extension.inc' );
include($phpbb_ root_path . 'common.php');
$userdata = session_pagesta rt($user_ip, PAGE_INDEX);
init_userprefs( $userdata);
if( $userdata['session_logged _in'] )
{
echo('Hello');
}
else
{
echo('Please Login');
}
?>
Comment