Fout
Geplaatst: 24 apr 2003, 16:28
Ik heb wee hulp nodig
ik krijg een fout
Parse error: parse error in install.php on line 293
Ik weet dat het een typfout is maar ik kan het niet vinden
Trouwens dit is het bestandje install.php van PHPBB
dit is het stukje script
}
//
// FUNCTIONS
// ---------
// Begin
error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables
set_magic_quotes_runtime(0); // Disable magic_quotes_runtime
// Slash data if it isn't slashed
if (!get_magic_quotes_gpc())
{
if (is_array($HTTP_GET_VARS))
{
while (list($k, $v) = each($HTTP_GET_VARS))
{
if (is_array($HTTP_GET_VARS[$k]))
{
while (list($k2, $v2) = each($HTTP_GET_VARS[$k]))
{
$HTTP_GET_VARS[$k][$k2] = addslashes($v2);
}
@reset($HTTP_GET_VARS[$k]);
}
else
{
$HTTP_GET_VARS[$k] = addslashes($v);
}
}
@reset($HTTP_GET_VARS);
}
if (is_array($HTTP_POST_VARS))
{
while (list($k, $v) = each($HTTP_POST_VARS))
{
if (is_array($HTTP_POST_VARS[$k]))
{
while (list($k2, $v2) = each($HTTP_POST_VARS[$k]))
{
$HTTP_POST_VARS[$k][$k2] = addslashes($v2);
}
@reset($HTTP_POST_VARS[$k]);
}
else
{
$HTTP_POST_VARS[$k] = addslashes($v);
}
}
@reset($HTTP_POST_VARS);
}
if (is_array($HTTP_COOKIE_VARS))
{
while (list($k, $v) = each($HTTP_COOKIE_VARS))
{
if (is_array($HTTP_COOKIE_VARS[$k]))
{
while (list($k2, $v2) = each($HTTP_COOKIE_VARS[$k]))
{
$HTTP_COOKIE_VARS[$k][$k2] = addslashes($v2)';
}
@reset($HTTP_COOKIE_VARS[$k]);
}
else
{
$HTTP_COOKIE_VARS[$k] = addslashes($v);
}
}
@reset($HTTP_COOKIE_VARS);
}
}
// Begin main prog
regel 293 define('IN_PHPBB', true)';
// Uncomment the following line to completely disable the ftp option...
// define('NO_FTP', true);
$phpbb_root_path = './../';
include($phpbb_root_path.'extension.inc');
// Initialise some basic arrays
$userdata = array();
$lang = array();
$error = false;
Dit is trouwens regel 219 totemet 302
ik krijg een fout
Parse error: parse error in install.php on line 293
Ik weet dat het een typfout is maar ik kan het niet vinden
Trouwens dit is het bestandje install.php van PHPBB
dit is het stukje script
}
//
// FUNCTIONS
// ---------
// Begin
error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables
set_magic_quotes_runtime(0); // Disable magic_quotes_runtime
// Slash data if it isn't slashed
if (!get_magic_quotes_gpc())
{
if (is_array($HTTP_GET_VARS))
{
while (list($k, $v) = each($HTTP_GET_VARS))
{
if (is_array($HTTP_GET_VARS[$k]))
{
while (list($k2, $v2) = each($HTTP_GET_VARS[$k]))
{
$HTTP_GET_VARS[$k][$k2] = addslashes($v2);
}
@reset($HTTP_GET_VARS[$k]);
}
else
{
$HTTP_GET_VARS[$k] = addslashes($v);
}
}
@reset($HTTP_GET_VARS);
}
if (is_array($HTTP_POST_VARS))
{
while (list($k, $v) = each($HTTP_POST_VARS))
{
if (is_array($HTTP_POST_VARS[$k]))
{
while (list($k2, $v2) = each($HTTP_POST_VARS[$k]))
{
$HTTP_POST_VARS[$k][$k2] = addslashes($v2);
}
@reset($HTTP_POST_VARS[$k]);
}
else
{
$HTTP_POST_VARS[$k] = addslashes($v);
}
}
@reset($HTTP_POST_VARS);
}
if (is_array($HTTP_COOKIE_VARS))
{
while (list($k, $v) = each($HTTP_COOKIE_VARS))
{
if (is_array($HTTP_COOKIE_VARS[$k]))
{
while (list($k2, $v2) = each($HTTP_COOKIE_VARS[$k]))
{
$HTTP_COOKIE_VARS[$k][$k2] = addslashes($v2)';
}
@reset($HTTP_COOKIE_VARS[$k]);
}
else
{
$HTTP_COOKIE_VARS[$k] = addslashes($v);
}
}
@reset($HTTP_COOKIE_VARS);
}
}
// Begin main prog
regel 293 define('IN_PHPBB', true)';
// Uncomment the following line to completely disable the ftp option...
// define('NO_FTP', true);
$phpbb_root_path = './../';
include($phpbb_root_path.'extension.inc');
// Initialise some basic arrays
$userdata = array();
$lang = array();
$error = false;
Dit is trouwens regel 219 totemet 302