<?php
//replace $phpbb_root_path with path to your forum
$phpbb_root_path = './';
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_compress.' . $phpEx);
include($phpbb_root_path . 'includes/functions_jabber.' . $phpEx);
include($phpbb_root_path . 'includes/functions_privmsgs.' . $phpEx);
include($phpbb_root_path . 'includes/functions_upload.' . $phpEx);
include($phpbb_root_path . 'includes/constants.' . $phpEx);
include($phpbb_root_path . 'includes/functions_convert.' . $phpEx);
include($phpbb_root_path . 'includes/functions_messenger.' . $phpEx);
include($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx);
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/functions_module.' . $phpEx);
include($phpbb_root_path . 'includes/functions_template.' . $phpEx);
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
include($phpbb_root_path . 'includes/functions_admin.' . $phpEx);
include($phpbb_root_path . 'includes/functions_install.' . $phpEx);
include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
include($phpbb_root_path . 'includes/functions_transfer.' . $phpEx);
include($phpbb_root_path . 'includes/message_parser.' . $phpEx);
include($phpbb_root_path . 'includes/auth/auth_apache.' . $phpEx);
include($phpbb_root_path . 'includes/auth/auth_db.' . $phpEx);
include($phpbb_root_path . 'includes/auth/auth_ldap.' . $phpEx);
include($phpbb_root_path . 'includes/captcha/captcha_gd.' . $phpEx);
include($phpbb_root_path . 'includes/diff/diff.' . $phpEx);
include($phpbb_root_path . 'includes/diff/engine.' . $phpEx);
include($phpbb_root_path . 'includes/diff/renderer.' . $phpEx);
include($phpbb_root_path . 'includes/utf/utf_normalizer.' . $phpEx);
include($phpbb_root_path . 'includes/utf/data/utf_normalizer_common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
if ($user->data['user_id'] != ANONYMOUS)
{
echo '<p>Je bent ingelogd als ' . $userdata['username'] . '<br />'; print $userdata['session_id']; }
else
{
}
?>