Re: how to use convert_uuencode()
From: Andy Hassall (andy_at_andyh.co.uk)
Date: 09/30/04
- Next message: Brian: "Re: 2 different time zones"
- Previous message: Brian: "Re: 2 different time zones"
- Next in thread: lawrence: "Re: how to use convert_uuencode()"
- Maybe reply: lawrence: "Re: how to use convert_uuencode()"
- Reply: lawrence: "Re: how to use convert_uuencode()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 20:02:46 +0100
On 30 Sep 2004 09:15:29 -0700, lkrubner@geocities.com (lawrence) wrote:
>On www.php.net, on the page for convert_uuencode(), someone posted
>this comment:
>
>>>>>>>>>>>>>>>>>
>This function can be useful if you wish to store files in a MySQL
>database, it will save any problems with obscure binary data breaking
>the queries.
>
>just remember to convery-uudecode before you try to use the data
>again.
>
>(A common example of something that uses this system, would be email
>attachments)
>>>>>>>>>>>>>>>>>
>
>If I understand this right, before you insert any binary data into a
>MySql database, you should first hit it with convert_uuencode() ?
No, MySQL is perfectly capable of storing binary data without needing
encoding, using the BLOB types. uuencoding it adds overhead in both processing
time and space required.
-- Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk> <http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
- Next message: Brian: "Re: 2 different time zones"
- Previous message: Brian: "Re: 2 different time zones"
- Next in thread: lawrence: "Re: how to use convert_uuencode()"
- Maybe reply: lawrence: "Re: how to use convert_uuencode()"
- Reply: lawrence: "Re: how to use convert_uuencode()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|