Re: Storing images in Interbase database
| From: | JayAchTee | Date: | Wed, 16 May 2001 20:35:58 +0000 |
| Subject: | Re: Storing images in Interbase database | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7639@lists.php.net to get a copy of this message | ||
Use the ibase_blob_create, ibase_blob_add and ibase_blob_close functions to
get the image into a blob field and INSERT it using a "?" place holder
passing the blob id from ibase_blob_close in the ibase_execute function.
""Il Cieco"" <ilcieco@iol.it> wrote in message
news:9c221i$9mm$1@toye.p.sourceforge.net...
> True, but i've just to include a small picture for record, so when i
delete
> the record the image will also be deleted.
>
> Greetings,
>
> Alessio.
>
> ""Johannes Janson"" <johannes.janson@gmx.de> ha scritto nel messaggio
> news:9c1ueg$66v$1@toye.p.sourceforge.net...
> > Hi,
> >
> > I don't know how to do it but I rekon you would be more
> > flexlibe if you store the image path in the db. It keeps your
> > DB smaller aswell.
> >
> > just a thought
> > Johannes
> >
> > ""Alessio Bernesco Làvore""
> > <alessio.bernesco@dinemacomputer.it> schrieb
> im
> > Newsbeitrag news:9c1noo$1mc$1@toye.p.sourceforge.net...
> > > Hi,
> > > Anyone know how to do it?
> > > I've already done it with MySql, using "load_file" command, now is
there
> > > something like this with interbase?
> > >
> > > Thanks a lot,
> > >
> > > Alessio.
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> > >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>