Guest User

Untitled

a guest
Jan 24th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1. <?php
  2.  
  3. define('IN_PHPBB', true);
  4. // Specify the path to you phpBB3 installation directory.
  5. $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/';
  6. $phpEx = substr(strrchr(__FILE__, '.'), 1);
  7. // The common.php file is required.
  8. include($phpbb_root_path . 'common.' . $phpEx);
  9.  
  10. // Start session management
  11. $user->session_begin();
  12. $auth->acl($user->data);
  13.  
  14. $user->setup();
  15.  
  16.  
  17. //your PHP and/or HTML code goes here
  18.  
  19. ?>
  20.  
  21. <p>Hi <?php echo $user->data['username']; ?></p>
Add Comment
Please, Sign In to add comment