|
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
[Back to original message]
|