Home  |  Linux  | Mysql  | PHP  | XML
From:Dave Rolsky Date:Wed Aug 28 21:54:24 2002
Subject:Re: blobs
On 28 Aug 2002, Uri Guttman wrote:

> no, you must convert it first to a string by using storable (freeze
> method) or some other module. then you can insert it into a long field
> of type BLOB.

This shouldn't be necessary if you are storing raw image data, actually.

But I'd strongly recommend just storing filenames in the DB.  Why push and
pull such large chunks of data from the DB?  What's the point?

Better yet, simply generate filenames based on the ISBN or something
unique like that (id in the db would work too).


-dave

/*==================
www.urth.org
we await the New Sun
==================*/

Navigate in group perl.books.workers at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants