znalazlem na pewne stronie ciekawy skrypt logowania polaczony z phpbb3 ale mam problem kod wyglada tak.
Kod
$phpbb_root_path = './'; //Sciezka do katalogu forum
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
//Sesje
$user->session_begin();
$auth->acl($user->data);
//Statystyki
$total_posts = $config['num_posts'];
$total_topics = $config['num_topics'];
$total_users = $config['num_users'];
$newest_user = $config['newest_username'];
$newest_uid = $config['newest_user_id'];
?>
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
//Sesje
$user->session_begin();
$auth->acl($user->data);
//Statystyki
$total_posts = $config['num_posts'];
$total_topics = $config['num_topics'];
$total_users = $config['num_users'];
$newest_user = $config['newest_username'];
$newest_uid = $config['newest_user_id'];
?>
problem polega na tym iz chce otworzyc sie plik common.html a powinien common.php tak samo sie dzieje z functions_display co mam zmienic w kodzie aby otwieral sie odpowiedni format pliku
ok poradziłem sobie sam wystarczylo zmienic rozszezenie pliku index na php.
Do moderatorow-mozecie usunac ten post