|
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]
|