billy_papa Posted July 11, 2010 Share Posted July 11, 2010 I have integrate the PHPBB3 login with my website. My code works perfectly with one computer using my own PHP set up. But with the WAMP installation using PHP version 3.5.0 the code does not want to work. I think it has got to do with if($user->data['is_registered']) . Please HELP!!!!!!! Thankyou <?php define('IN_PHPBB', true); $phpbb_root_path = './phpbb3/'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup(); ?> <?PHP if($user->data['is_registered']) { DISPLAY MEMBER DATA }esle{ DISPLAY NOTHING } ?> Quote Link to comment https://forums.phpfreaks.com/topic/207448-session-register-login-issue-with-wamp/ Share on other sites More sharing options...
Pikachu2000 Posted July 11, 2010 Share Posted July 11, 2010 Surely you don't mean PHP 3.5.0. You must mean 5.3.0, right? Quote Link to comment https://forums.phpfreaks.com/topic/207448-session-register-login-issue-with-wamp/#findComment-1084590 Share on other sites More sharing options...
wildteen88 Posted July 11, 2010 Share Posted July 11, 2010 But with the WAMP installation using PHP version 3.5.0 the code does not want to work. You mean 5.3.0 right? 3.5.0 is extremely old and is outdated and is most probably why your code is not working. If you're using php5.3.0 then you'll need to check to see if PHPBB3 is compatible with PHP5.3.0. If its not you should downgrade PHP to an earlier version. WAMP provides many addons for different PHP versions which you can easily install. Click here for WAMP Addons. Once installed make sure you choose the new version from wamps tray icon Quote Link to comment https://forums.phpfreaks.com/topic/207448-session-register-login-issue-with-wamp/#findComment-1084591 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.