J'utilise un server avec php.ini mis sur off. Sur mon site, j'ai ajouté dans htaccess :
- Code: Tout sélectionner
php_flag register_globals on
Mon site fonctionne parfaitement ! Maintenant, je veux utiliser la connexion phpBB3 pour mon site - j'ajoute :
- Code: Tout sélectionner
<?
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : 'phpBB3/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('', $forum_data['forum_style']);
?>
Et alors, mon site se retrouve avec register_global == off et les variables GET du site ne fonctionnent plus ... comment faire pour le laisser toujours sur on ?


