kandyor, как я понял так?
if (preg_match(array("/'../../'/i", "/'../../../'/i", "/'../../../../'/i"), $dir)){
header('Location: index.php?act=manager&dir=../files/closed');
}
kandyor, как я понял так?
if (preg_match(array("/'../../'/i", "/'../../../'/i", "/'../../../../'/i"), $dir)){
header('Location: index.php?act=manager&dir=../files/closed');
}