좋아요. 그래서 저는 웹 사이트 제작에 초보자이며 지금까지는 hmtl 및 ccs 코드 만 알고 있습니다. 웹 사이트 (interqueo.hu)와 phpBB 포럼이 있습니다. 내 웹 사이트에서 방문자가 포럼에서 최신 5 개의 게시물을 볼 수있는 오른쪽에 장소를 갖고 싶습니다. 나는 튜토리얼을 발견했지만 내가 말했듯이 초보자이며 PHP 코딩에 익숙하지 않다. 튜토리얼에 대한웹 사이트 (phpBB)에 게시물 표시
링크 : https://wiki.phpbb.com/Practical.Displaying_posts_and_topics_on_external_pages
나는 지금까지 이런 짓을하지만, 튜토리얼 코드의 나머지 부분을 넣어 어디 모르겠어요.
<!DOCTYPE>
<?php
/*
* home.php
* Description: example file for displaying latest posts and topics
* by battye (for phpBB.com MOD Team)
* September 29, 2009
*/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('viewforum');
<html>
<head>
<title>Test Page</title>
</head>
<body>
</body>
</html>
좋은 조언 일지라도이 질문에 답하지 않을 것입니다. 의견을 게시 할 수 있도록 최소한의 평판을 얻으십시오. –