In order to use phpBB 2.0.9 or earlier releases of phpBB 2.0 on PHP 5 or later, you need to make the following changes to your common.php file.
No changes are required in phpBB 2.0.10 or later versions.
- Code: Select all
# #-----[ FIND ]------------------------------------------ # // // addslashes to vars if magic_quotes_gpc is off // this is a security precaution to prevent someone // trying to break out of a SQL statement. // # #-----[ BEFORE, ADD ]------------------------------------------ # // PHP5 with register_long_arrays off? if (!isset($HTTP_POST_VARS) && isset($_POST)) { $HTTP_POST_VARS = $_POST; $HTTP_GET_VARS = $_GET; $HTTP_SERVER_VARS = $_SERVER; $HTTP_COOKIE_VARS = $_COOKIE; $HTTP_ENV_VARS = $_ENV; $HTTP_POST_FILES = $_FILES; }