Jump to content

Recommended Posts

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

}
?>

Link to comment
https://forums.phpfreaks.com/topic/207448-session-register-login-issue-with-wamp/
Share on other sites

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.