سؤال

I want to integrate a login script with PHPBB3.

I have this code written.

It works well if I comment this line.

require 'forum/includes/functions.php';

But shows no output if this line is executed.

هل كانت مفيدة؟

المحلول

Did you tried commenting

if (!defined('IN_PHPBB'))
{
    exit;
}

from

require 'forum/includes/functions.php';

Or write this line before your include.

define('IN_PHPBB', true);
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top