<?php
$file = $_GET['file'];
if ( empty( $file ) || strpos( $file, '/' ) > 0 || !file_exists( "$file.inc.php" ) ) die( "It's no good Cap'n!" );
require( "$file.inc.php" );
function print_values($my_array){
reset($my_array);
echo "These are all the entries:<br><dl>";
while($array_cell = each($my_array)){
$current = $array_cell['value'];
echo "<dd>$current</dd>";
}
echo "</dl>";
}
print_values($_lang);
?>
usage: place the file in your manager/includes/lang/
and call a file with printfile?file=nederlands












