Here's a great article on how to store pdf/whatever binary as blob chunks:

http://www.dreamwerx.net/phpforum/?id=1



On Wed, 7 Mar 2007, Jay Pipes wrote:

> Ed wrote:
> > Hi All,
> > I'm trying to figure out how to put a pdf file into a blob field.
> >
> > I guess a pdf file is a binnary file and it will contain characters that 
> > will
> > mess things up, so my question is:
> >
> > can it be done?  Or better, how can it be done? ;)
> >
> > Any pointers to documentation are a bonus!
>
> Is there a specific reason you want to store this in a database?  Why
> not use the local (or networked) file system and simply store the
> metadata about the PDF in the database?
>
> Cheers,
>
> Jay
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
>

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to