get_contents(); $g = new KTFSFileLike($sFilename); $g->open(); $chunk = ""; while (!$g->eof()) { $chunk .= $g->read(8192); } $g->close(); if ($getcont !== $norm) { print "get_contents not working!\n"; } if ($chunk !== $norm) { print "chunk not working!\n"; }