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

Posted by Jim Michaels on 02/14/06 09:02

"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?


>
> Jasen Betts wrote:
>> On 2006-02-06, Jasen Betts <jasen@free.net.nz> wrote:
>>
>>>>echo($content);
>>>
>>>hopefully a blank line first.
>>
>>
>> what wa I thinking? PHP takes care of that detail.
>>
>> 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

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