Page 1 of 1
image help...
Posted: Tue Feb 08, 2005 4:22 am
by pleigh
hi there,
will it be possible to store picture files to mysql? if yes, how can i do it?
thanks in advance.
pleigh

Posted: Tue Feb 08, 2005 4:29 am
by feyd
search.. we've talked about it ad naseum. I've posted the pros and cons (mostly cons) about storing images directly in MySQL multiple times.
"image database"
Posted: Tue Feb 08, 2005 10:02 am
by pickle
Essentially it boils down to making a blob or mediumblob field in your table, reading in the data of the image and storing it in that field. To pull the data out, make a particular file that you'd call in HTML code rather than the image file, sending a GET variable corresponding to the ID of the image. But like feyd said, do a search.
Posted: Tue Feb 08, 2005 10:21 am
by anjanesh
Binary Data + MySQL + PHP
How to Store Images Directly in the Sql Database
http://www.phpbuilder.com/columns/florian19991014.php3