"TYPO3 4.0.1: gzip_encode Class Reference", "datetime" => "Sat Dec 2 19:25:06 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

gzip_encode Class Reference

List of all members.

Public Member Functions

 gzip_encode ($level=3, $debug=false, $outputCompressedSizes=0)
 gzip_accepted ()
 get_complevel ()
 linux_loadavg ()
 freebsd_loadavg ()

Public Attributes

 $_version = 0.66
 $level
 $encoding
 $crc
 $size
 $gzsize

Detailed Description

News: I had once said that when PHP 4.0.5 comes out I will reccomend the built in ob_gzhandler over my code unless you are generating flash or images on the fly.

I was wrong. PHP 4.0.5 is out and ob_gzhandler doesn't work for me.

Note: This is rather cool: http://leknor.com/code/gziped.php It will calculate the effects of this class on a page. compression level, cpu time, download time, etc

Note: this may be better for some sites: http://www.remotecommunications.com/apache/mod_gzip/ I've read that the above doesn't work with PHP output.

Changes compared to the upstream version:

2005-12-09 Peter Niederlag <peter@niederlag.de>

Id
class.gzip_encode.php 1421 2006-04-10 09:27:15Z mundaun

Author:
Sandy McArthur, Jr. <leknor@leknor.com>

Definition at line 25 of file class.gzip_encode.php.


The documentation for this class was generated from the following file: