A string of data can be retrieved and compressed using the LZW algorithm. LZW can also do the opposite, i.e. extract the original data from compressed string using the same algorithm.Requirements:PHP 4.0 or higher