Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
http_deflate

http_deflate

(no version information, might be only in CVS)

http_deflate -- Deflate data

Description

string http_deflate ( [string data [, int flags = 0]] )

Compress data with gzip, zlib AKA deflate or raw deflate encoding.

See the deflate constants table for possible values for the flags parameter.

Parameters

data

String containing the data that should be encoded

flags

Deflate options

Return Values

Returns the encoded string on success, or NULL on failure.