Documentation TYPO3 par Ameos

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,v 1.5.2.1 2006/01/19 13:50:16 rfritz Exp

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:


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6