Michael B Allen wrote:
On Wed, 18 Oct 2006 12:39:00 -0700
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
Michael B Allen wrote:
On Wed, 18 Oct 2006 09:31:58 -0700
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
Fred Moses wrote:
What ever became of support for a progress bar during file upload? It
seems to have been relegated to the doldrums. It would be extremely
handy for a commercial client of mine whose customers upload large image
files.
It's in 5.2. You can see it running here:
http://progphp.com/progress.php
This is cool! How big can the files be? Are they limited to post_max_size
and similar?
Yes, it's just the regular file upload code, so the same restrictions
are enforced.
Can an extension get access to the client socket such that it can decode
chunked POSTs of unlimited size?
I want to read buffers within the extension as opposed to writing it to
a file.
You don't get to read it from the extension, but you do get access to
the data in the just read buffer each time the hook is called. Have a
look at the rfc1867.c source code. It's pretty straightforward.
-Rasmus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php