';}
echo $foot;
?>
// ФайлоОбменнег
// Mod by manhhung
header('Content-type: text/html; charset=utf-8');
header('Cache-control: no-cache');
// Узнаем какие типы сжатия поддерживает браузер
if($_SERVER['HTTP_ACCEPT_ENCODING'])
{
$compress = strtolower($_SERVER['HTTP_ACCEPT_ENCODING']);
}
else
{
$compress = strtolower($_SERVER['HTTP_TE']);
}
if(substr_count($compress,'deflate')) // Если поддерживается deflate
{
function compress_output_deflate($output)
{
return gzdeflate($output,4); // 4 - это степень компресии, возможные варианты от 0 до 9. Больше 4 ставить не следует, в степени компрессии выигрыша нет, а нагрузка на сервер растет.
}
header('Content-Encoding: deflate');
ob_start('compress_output_deflate');
ob_implicit_flush(0);
}
elseif(substr_count($compress,'gzip')) // Если поддерживается gzip
{
function compress_output_gzip($output)
{
return gzencode($output,4); // 4 - это степень компресии, возможные варианты от 0 до 9. Больше 4 ставить не следует, в степени компрессии выигрыша нет, а нагрузка на сервер растет.
}
header('Content-Encoding: gzip');
ob_start('compress_output_gzip');
ob_implicit_flush(0);
}
elseif(substr_count($compress,'x-gzip')) // Если поддерживается x-gzip
{
function compress_output_x_gzip($output)
{
$x = "\x1f\x8b\x08\x00\x00\x00\x00\x00";
$size = strlen($output);
$crc = crc32($output);
$output = gzcompress($output,4); // 4 - это степень компресии, возможные варианты от 0 до 9. Больше 4 ставить не следует, в степени компрессии выигрыша нет, а нагрузка на сервер растет.
$output = substr($output, 0, strlen($output) - 4);
$x.= $output;
$x.= pack('V',$crc);
$x.= pack('V',$size);
return $x;
}
header('Content-Encoding: x-gzip');
ob_start('compress_output_x_gzip');
ob_implicit_flush(0);
}
?>
// ФайлоОбменнег
// Mod by manhhung
require 'config.php';
$d = $did = $_GET['d'];
$f = $fid = $_GET['f'];
$date=date("d.m.y");
$time=date("H:i");
echo $resultus;
switch($_GET['action'])
{
default:
if(!$d)
{
echo $top.'
// ФайлоОбменнег
// Mod by manhhung
require 'config.php';
echo $top.'
UPWAP
Cho phép được cấp phép upload các định dạng sau đây:';
$odir1=opendir('.');
while($dir1=readdir($odir1))
{
if(is_dir($dir1) && $dir1!='.' && $dir1!='..' && $dir1!='data')
{echo " *.$dir1 ";}
}
echo '
Tên của tập tin chỉ được phép trong bảng chữ cái Tiếng Anh(A-z), chữ số(0-9), ki tự(_) hoặc(-);
Không được phép để tên tập tin là tiếng việt;
Đừng quên thêm một mô tả, bạn có gì khác không có gì quý báu của mình để chi tiêu băng thông :D.
'.$foot;
?>sssssssssssssssssssss|:|:|:|sss
tieng viet menu|:|:|:|phuoc tien
1|1|10|09 Tháng bảy, 2011