I am using zlib to deflate some data using:

ret = ZLibdeflateinit2(ZLib, &strm, 6, Z_DEFLATED, 13, 6, Z_DEFAULT_STRATEGY, 
ZLIB_VERSION, sizeof(z_stream));

I then pass the resulting string as multi-part form data to PHP code.

This data seems to pass nicely to PHP variables but when I try and convert the 
data back to it's original form I get a PHP error.

I was hoping that I could then just use the PHP function gzinflate to inflate 
the data back to its original form but the data from SysZLib does not seem to 
be compatible with the PHP version of zlib.

I looked at the same data that is deflated/compressed using zlib on the Palm 
and server side and they are the same except for small variations at the front 
3 bytes and the last byte.

Does anyone know if I can use PHP for decompression?

Thanks

Greg
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to