Posted by Nilesh on 11/04/07 10:54
On Nov 4, 3:21 pm, Michael Fesser <neti...@gmx.de> wrote:
> .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
Saving database space. :D
[Back to original message]
|