LOGIC Blog

Get New Updates on ERP Software, advice, lessons and best practices.

Why Was My Developer Application Rejected?

To save network traffic I’d like to compress my data. The only trick is that I the client is a c application and the server is php. I’m looking for an open source compression library that’s available for both c and php.

I guess I could write an external c application to decompress my data, but I’m trying to avoid spawning extra processes on the server.

If you know of any, please post it!

2 ANSWERS

February 16, 2017 at 9:47 am LOGIC

gzip is one of the most (if not the most) popular compression scheme. PHP has supported it since version 4. If you need even better compression, consider bzip2.

February 16, 2017 at 9:48 am LOGIC

Zlib provides C APIs, and is part of the PHP functional API as well.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.