Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- define('IN_PHPBB', true);
- // Specify the path to you phpBB3 installation directory.
- $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/';
- $phpEx = substr(strrchr(__FILE__, '.'), 1);
- // The common.php file is required.
- include($phpbb_root_path . 'common.' . $phpEx);
- // Start session management
- $user->session_begin();
- $auth->acl($user->data);
- $user->setup();
- //your PHP and/or HTML code goes here
- ?>
- <p>Hi <?php echo $user->data['username']; ?></p>
Add Comment
Please, Sign In to add comment