Compressing a string with PHP / decompressing with VB?
Moderator: General Moderators
Compressing a string with PHP / decompressing with VB?
I'm trying to compress a dynamically created string that can be read by software on a client computer via an http connection. The programmer of the software needs to be able to decompress this data using Visual Basic. But he cannot decompress it when it's compressed using PHP's functions; gzcompress, gzencode, or bzcompress. Does anyone have any suggestions of how we can make PHP compression work with VB compression?
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
1. zlib (gzip) is a standard compression format which is independent of either php or VB.
2. Info on libraries for different languages can be found in most unlikely of places: http://www.gzip.org/ - look for the zlib libraries...there is one for VB.
2. Info on libraries for different languages can be found in most unlikely of places: http://www.gzip.org/ - look for the zlib libraries...there is one for VB.
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
From a quick google search of "vb.net zlib string compression":
http://www.eggheadcafe.com/articles/20011226.asp
http://www.eggheadcafe.com/articles/20011229.asp
http://www.eggheadcafe.com/articles/20011226.asp
http://www.eggheadcafe.com/articles/20011229.asp