RE: [PHP] Re: Storing a graphic file in a MySQL database
| From: | Joseph Blythe | Date: | Thu, 10 Apr 2003 04:29:10 +0000 |
| Subject: | RE: [PHP] Re: Storing a graphic file in a MySQL database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143269@lists.php.net to get a copy of this message | ||
I guess there are situations where storing an images binary data in a blob
field is really useful even mandatory but after doing just this for a 1600+
product database and then wanting to use the images to demo another database
system which stores the images as files and auto generates thumbnails from
an uploaded source, I really wish I hadn't done it. Seemed like a great
idea at the time but is just another headache now !
Just be careful is all I am saying :)
Regards,
Joseph
-----Original Message-----
From: Rich Choy [mailto:versace_74@hotmail.com]
Sent: Thursday, 10 April 2003 1:39 PM
To: php-general@lists.php.net
Subject: [PHP] Re: Storing a graphic file in a MySQL database
It's entirely possible.
http://www.phpbuilder.com/columns/florian19991014.php3
The article is a bit dated, but the basic concepts are there.
Good luck.
"Phil Schwarzmann" <phil.schwarzmann@filanya.com> wrote in message
news:000f01c2f5f2$9e18ee80$2c1ce982@homer...
> Where can I find some information on storing a graphic file such as a JPG
or
> GIF into a MySQL database. I'm assuming I have to convert it to a binary
> format and store it that way. Or maybe this isn't possible?
>
>
>
> Thanks!
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php