<?php header("Content-Type: text/plain"); include("lzwc.php"); $l = new LZW; $str = "/WED/WE/WEE/WEB/WET"; $en = $l->compress($str); $de = $l->decode($en); echo $en."\n\n".$de; ?>
info at phpclasses dot org