Posted by Michael Fesser on 11/04/07 10:21
..oO(Nilesh)
>I have a query about Bzip2 in PHP. Let's say that i have a paragraph
>like:
>
>abcdbc nnotp iidhdmmc;
>uuidpssa
>
>-------End-------
>
>Now, i compress it using bzcompress() and store it in a mysql
>database.
>
>Now suppose i want to search for the string abcd in the database so if
>i encode "abcd" in bzip2 then use the LIKE SQL query; will it fetch me
>the result ?
No, this can't work. Why do you want to store compressed strings at all?
Micha
[Back to original message]
|