Re: APC & FastCGI != upload progress ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think FastCGI is buffering the upload, which is good I guess, just
nice to know. I'll put a comment in the php manual. The deflate thing
is a FastCGI bug, I searched the list and found a fix. I thought
mod_fastcgi was dead (it didn't even compile on Apache 2.2). It looks
like there was a release last year (after several years), so I'll take
that and patch it. I have to remember what my other patches have been
over the years!

FastCGI is *the* way to run PHP, but I think Apache is not the
platform for it anymore.

Is the COMMET implementation on the client side long polling
(reconnect) or does it stream using script tags? What goes on in the
server? Does it push the buffer of blank data that WebKit requires? Is
it a PHP daemon process running as a simple HTTP server?

On Wed, Apr 2, 2008 at 12:09 AM, Manuel Lemos <mlemos@xxxxxxx> wrote:
> Hello,
>
>  on 03/30/2008 02:52 PM steve said the following:
>
> > Hmmm... I am working on a PHP daemon for comet style connections...
>  > I'll keep that idea in mind. I guess that using Flash is best solution
>  > at the moment.. at least the only one I have working...
>
>  I implement COMET connections with plain HTML with an hidden iframe.
>  Actually I have been using that for a upload progress meter among other
>  AJAX uses. Actually it is an AJAX plug-in of this forms class:
>
>  http://www.phpclasses.org/formsgeneration
>
>  Here is an example of a form upload progress done all in PHP and plain HTML:
>
>  http://www.meta-language.net/forms-examples.html?example=test_upload_progress
>
>  Here you can watch a tutorial video that explains the COMET AJAX
>  implementation:
>
>  http://www.phpclasses.org/browse/video/1/package/1/section/plugin-ajax.html
>
>
>
>
>  > I'm guessing that FastCGI is buffering the upload until complete. PHP
>  > docs might want to document that.
>  >
>  > FastCGI is also breaking Apache's deflate module, but that is another issue...
>
>  Couldn't it be deflate buffering FastCGI output?
>
>  --
>
>  Regards,
>  Manuel Lemos
>
>  PHP professionals looking for PHP jobs
>  http://www.phpclasses.org/professionals/
>
>  PHP Classes - Free ready to use OOP components written in PHP
>  http://www.phpclasses.org/
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux