At 6:37 AM + 23/4/02, mm fernandez wrote:
>hi...is it possible to store pics (jpeg/gif) on the mysql database? if so,
>how and what type should that field be?
How: just addslashes() on the content and insert it.
What: a blob of an appropriate size.
...R.
--
PHP General Mailing List (htt
Yes. The field would need to be some kind of binary blob.
You would need to access it using a PHP script that
set the header eg:
header( "Content-type:image/gif" )
and then out put the image.
At 16:37 23/04/2002, mm fernandez wrote:
>hi...is it possible to store pics (jpeg/gif) on the
hi...is it possible to store pics (jpeg/gif) on the mysql database? if so,
how and what type should that field be?
thanks.
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
PHP General Mail
3 matches
Mail list logo