Re: [PHP] store pics on mysql db

2002-04-23 Thread Richard Archer
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

Re: [PHP] store pics on mysql db

2002-04-23 Thread Brian White
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

[PHP] store pics on mysql db

2002-04-22 Thread mm fernandez
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 world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PHP General Mail