Hi and I am looking for a compression mechonism that can compress text (just letters and numbers) into binary or all weird symbols. Does anybody know of any good php/mysql codes as I can't get any to work.
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
Recommended Answers
Jump to PostI have tried running the following mysql queries through the phpmyadmin command console (mysql_query() code) but I seem to be unable to retrieve the value. Here is my code.
INSERT INTO `table` SET `column`=COMPRESS("abcd") SELECT * FROM `table` WHERE UNCOMPRESS(`column`)="abcd"
Also tried
INSERT INTO `table` SET `column`=COMPRESS("abcd") …
Jump to PostI just tried varbinary like before and again varbinary didn't work however I tried blob which I have never heard of before and it worked! Also the bz library works but won't decompress. So using the method you have described how can I decompress the result?
Which bz library? Do …
All 9 Replies
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
digital-ether
399
Nearly a Posting Virtuoso
Team Colleague
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
digital-ether
399
Nearly a Posting Virtuoso
Team Colleague
cwarn23
commented:
Excellent Code
+6
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
digital-ether
399
Nearly a Posting Virtuoso
Team Colleague
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
digital-ether
399
Nearly a Posting Virtuoso
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.