[eluser]Little_Match_Girl[/eluser]
My current project is, I must to integrating my Application's User System with phpBB's User System.
I've got a PHP Classes to do that. (I was get it from PHPClasses org).
The class is need to include the PHPBB's common.php file.
/***********************************************************************/
I have The PHPBB's directory outside the CodeIgniter application.
Here's the directory path :
*my controller path :
Code:
[ app root ] /system/application/controllers/coba_phpbb.php
*the common.php file, that's need to be included in coba_phpbb controller :
Code:
[ app root ] /phpbb/common.php
/***********************************************************************/
I had been trying to including it with this statement :
Code:
require_once($phpbb_root_path .'common.php');
where the value is :
Code:
$phpbb_root_path = "../../../phpbb/";
but it's not work, the file is not found;
/***********************************************************************/
Then I tried this path :
Code:
$phpbb_root_path = "http://" .$_SERVER['HTTP_HOST'] ."/ [ app root ] /phpBB3/"
and it was doesn't work either.
The CodeIgniter output was :
/***********************************************************************/
Quote: A PHP Error was encountered
Severity: Warning
Message: phpbb::require_once() [phpbb.require-once]: URL file-access is disabled in the server configuration
Filename: controllers/example_phpbb.php
/***********************************************************************/
Is anybody know how to solve this problem ?