- Üyelik Tarihi
- 1 Eyl 2005
- Mesajlar
- 24
- Aldığı Beğeniler
- 0
dosyayi ftp baglanarak acp/lib icerisinde degistirmenizdir . Böylelikle sorun ortada kalkacaktir.
dosya ekleyemiyorum sorun var sanırım boyut olayında onun için php kodu olarka yazdım
siz bunu notped de açar sonra yönetim uygularsınız inşallah
dosya ekleyemiyorum sorun var sanırım boyut olayında onun için php kodu olarka yazdım
siz bunu notped de açar sonra yönetim uygularsınız inşallah
PHP:
<?php
class headers {
/** send headers **/
function send($isacp=0) {
global $sendnocacheheaders,$gzip,$lang;
@header("Content-type: text/html; charset=".$lang->get("LANG_GLOBAL_ENCODING"));
if($isacp==0) {
if($sendnocacheheaders==1) {
@header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
@header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
@header("Cache-Control: no-cache, must-revalidate");
@header("Pragma: no-cache");
}
if($gzip==1) headers::compress();
}
}
/** compress output **/
function compress() {
global $_SERVER, $gziplevel;
if(strstr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') && $gziplevel != 0 && function_exists("gzcompress")) {
ob_start("gzoutput");
@header("Content-Encoding: gzip");
}
}
}
function gzoutput($output) {
global $gziplevel;
$size = strlen($output);
$newoutput = "\x1f\x8b\x08\x00\x00\x00\x00\x00";
$newoutput .= substr(gzcompress($output, $gziplevel), 0, -4);
$newoutput .= pack("V", $size);
return $newoutput;
}
?>
8) 