
Originally Posted by
Bruceper
V5.4x was written before PHP5 came to be...
PHP5 was released July 13, 2004
INDEXU v5 was released November 25, 2005

Originally Posted by
Bruceper
Yes some people are still running 3.2 (scary isn't it?)...
the only real issue with running v3.2 is the security issue. just add the following code (taken from INDEXU 5.x) to the application.php file (just above the "configuration variables" section):
Code:
/*===================================================
register_globals & magic_quotes_gpc = on
===================================================*/
function safe_extract($var) {
static $forbidden = array('_FILES', '_ENV', '_GET', '_POST', '_COOKIE', '_SERVER', '_SESSION', 'GLOBALS');
while (list($k, $v) = @each($var)) {
if (!in_array($k, $forbidden)) {
$GLOBALS[$k] = $v;
}
else {
exit;
}
}
}
function addslashes_deep($value) {
$value = is_array($value) ? array_map('addslashes_deep', $value) : addslashes($value);
return $value;
}
if (!get_magic_quotes_gpc()) {
if (!empty($_GET)) {
$_GET = addslashes_deep($_GET);
safe_extract($_GET);
}
if (!empty($_POST)) {
$_POST = addslashes_deep($_POST);
safe_extract($_POST);
}
if (!empty($_COOKIE)) {
$_COOKIE = addslashes_deep($_COOKIE);
safe_extract($_COOKIE);
}
}
elseif (!ini_get('register_globals')) {
if (!empty($_GET)) safe_extract($_GET);
if (!empty($_POST)) safe_extract($_POST);
if (!empty($_COOKIE)) safe_extract($_COOKIE);
}
.