From: | Thom Dyson <TDyson(at)sybex(dot)com> |
---|---|
To: | pgsql-php(at)postgresql(dot)org |
Subject: | Re: blob size after pg_lo_open |
Date: | 2004-08-12 14:35:09 |
Message-ID: | OFE8041CEC.C1135DB4-ON88256EEE.004FF6B5-88256EEE.00501F4E@sybex.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
Thanks. Glad I wasn't missing anything obvious.
I need content length so that browsers get a progress meter. Working on an
application to sell downloads around 2 - 4 Mb.
Thom Dyson
Director of Information Services
Sybex, Inc.
pgsql-php-owner(at)postgresql(dot)org wrote on 08/11/2004 06:13:21 PM:
> TDyson(at)sybex(dot)com wrote:
I've tried using PHP's fstat to return the size, but I think the
> > object returned by pg_lo_open is not suitable.
> No, you can't use fstat() on a large object handle.
> I've hardly ever bothered with Content-length. There is probably some
> advantage to using it but I don't know what it might be.
From | Date | Subject | |
---|---|---|---|
Next Message | Dag Gullberg | 2004-08-12 17:04:39 | problem when two or more users access simultaneously? |
Previous Message | Majolee InfoTech | 2004-08-12 05:24:08 | Re: Strange session problem |