Re: inserting binary data into a mysql blob field
| From: | Fredrik de Vibe | Date: | Tue, 25 Feb 2003 02:05:49 +0000 |
| Subject: | Re: inserting binary data into a mysql blob field | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25890@lists.php.net to get a copy of this message | ||
craig@periodically.com (Craig Kohtz) writes:
> [ inserting images into a mysql db ]
I haven't done it myself, but a search on php.net for "blob mysql
file" gave (among others)
http://www.php.net/manual/en/features.file-upload.php
(seach the page for 'blob').
On the other hand, it has been said that storing files in a mysql
database (severely(?)) affects performance. I don't know anything
about this myself, though, so I can't make any 'proper'
recommendations. However, it sounds plausible that searching through
the db might be quicker with files stored as files and the path to
them stored in the db.
--
--Fredrik
In an organization, each person rises to the level of his own
incompetency
-- The Peter Principle