Re: APC & FastCGI != upload progress ?
| From: | Manuel Lemos | Date: | Wed, 02 Apr 2008 07:09:09 +0000 |
| Subject: | Re: APC & FastCGI != upload progress ? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272431@lists.php.net to get a copy of this message | ||
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/