Re: inserting binary data into a mysql blob field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux