NYCPHP Meetup

NYPHP.org

[nycphp-talk] Oracle and gif storage

Hans Zaunere zaunere at yahoo.com
Thu Sep 5 23:17:48 EDT 2002


--- Bill Patterson <patterson at computer.org> wrote:
> Has anyone found a practical way to store .GIF files in Oracle (8i)
> using PHP?

Oracle is practical?  :)

> If so, please get in touch.  I am trying to do it and keep running
> into one problem or another.  Thanks.

You need the DB field to be BLOB (Binary Large OBject).  You'll need to
ensure that the functions you use are binary safe, but most PHP
functionality in this repsect is (whether OCI/MySQL/etc).  If you are
using Oracle, the [bind?] functions are made for this, although there
are other ways.

H



__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com



More information about the talk mailing list