";
$httpString = $httpString . "\n";
$httpString = $httpString . "\n";
$httpString = gzcompress($httpString,9);
$httpString = "_c_" . base64_encode($httpString);
echo "$httpString";
// récupération historique
function clear_imports() {
global $tmp_path;
global $in_file;
global $ENV_TYPEETS;
global $ZIPS_array;
$httpString = "";
$ZIPS_array = array();
$path = $tmp_path;
$rep=@opendir($path);
if ($rep > 0) {
while ($file = readdir($rep)){
if($file != '..' && $file !='.' && $file !='' ){
$longFile = $path . '/' . $file;
$fileType = "";
$path_parts = pathinfo($longFile);
$fileType = strtoupper($path_parts['extension']);
if (is_dir($longFile)) {
$fileType = "DIR";
}
if ($file == $in_file || $in_file == "*ALL") {
@unlink($longFile);
}
}
}
}
@closedir($rep);
}
function initializeDir() {
if (! file_exists("../../../temp")) {
@mkdir("../../../temp");
}
}
?>