Problem with uncompressing/decoding strings from sqlite3

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pjoter
Forum Newbie
Posts: 1
Joined: Wed Mar 10, 2010 9:03 am

Problem with uncompressing/decoding strings from sqlite3

Post by pjoter »

Hi php developers,
Iam trying to find solution to this problem for about 3 months. I have db file from cd catalog of car parts in sqlite3. I figure out whole db structure but i have problem with main table Strings. There are all strings from catalog but I think they are compressed or encoded (table structure KeyID and Language where Language are those strings). It should be decodable (so there should not be any pass or key) because I found many eshops working with same database, but they seems to be run on .NET. So i tryied pass the strings to functions gzinflate(), gzuncompress() with warning wrong data. Function gzdecode() doesnt exists so far. And now Iam trapped. Here is sample of one Language string:

Code: Select all

0EB22F125D5F430A333E0810716545717A0B03
Please anyone got idea how to uncompress/decode this string with PHP ?
Any advices would be very welcomed
Post Reply