|< 1 2 >| | 12 Einträge, 2 Seiten |
QuoteDu hast doch die Source vom PBoard, oder??
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use Compress::Zlib
my $cntlength = length $output;
my $header = "Content-Type: text/html\n";
if($ENV{HTTP_ACCEPT_ENCODING} =~ /gzip/oi and $cntlength > 200)
{
my $compress = Compress::Zlib::memGzip($output);
my $length = length($compress);
$header .= "Content-Encoding: gzip\n";
$header .= "Content-Length: $length\n";
$output = $compress;
}
print "$header\n$output";
|< 1 2 >| | 12 Einträge, 2 Seiten |