You are here: Re: downloading blobs from mysql « PHP Programming Language « IT news, forums, messages
Re: downloading blobs from mysql

Posted by Jasen Betts on 02/14/06 19:51

On 2006-02-14, Jim Michaels <jmichae3@nospam.yahoo.com> wrote:
>
> "Barry" <b@b.com> wrote in message news:ds9pd8$q1h$1@ctb-nnrp2.saix.net...
>> Thnks for the help.
>> Found the problem.
>> I had to add 'b' to fopen('filename', 'rb');
>> when inserting the doc.
>>
>> Barry
>
> Oh. Your subject line said *downloading from* MySQL. not INSERTing into
> MySQL.
> just out of curiosity, if there is an internal limit on the size of a
> string, say 64K, and I can't echo the content all at once, How would I
> handle outputting a BLOB'd large file such as a PDF?
> or is it that I just can't do it with PHP? do I use pack() somehow?

I haven't tested it with MySQL, but PostgreSQL can handle atleast a few Megs
in a text field. if you want that sort of detail that's what the mmanual is
for. Download it if you find looking stuff up on-line inconvenient.

Bye.
Jasen

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация