php-general Digest 27 Dec 2009 16:40:57 -0000 Issue 6509
Topics (messages 300705 through 300706):
Re: Tracking file download progress
300705 by: STEEL
Re: Noob stuff - Zend/Opcode/Cache/Optimizer
300706 by: Shawn McKenzie
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
>> Thanks all, I've found the solution! PHP Backend + JQuery works great!
> Just out of curiosity. Can you please tell me how you initiated the download?
Via JSHttpRequest( JQuery started to lie %) ) to PHP backend.... then , in
file downloading cycle there
are $GLOBALS['_FULL'] tells frontend complete size of the file, and
$GLOBALS['_GOT'] tells clientside how bytes are downloaded..all you
need from php is to disable output buffering,or it will not work!
And then, showing progress bar is just easy HTML & JS trick!
--
STEEL mailto:[email protected]
--- End Message ---
--- Begin Message ---
Daniel Kolbo wrote:
> Hello,
>
> I'm missing some unifying piece of the zend/php puzzle...
>
> I understand the basics of zend engine opcode, caching the opcode,
> optimizing the opcode, and caching the optimized opcode, etc... The
> part I'm struggling with is somewhere in the zend world.
>
> Under a typical php install where does the zend engine live (like what
> file)?
I don't think it is separate from PHP itself. The Zend engine was a
rewrite of the PHP execution engine with resource/mem management and the
API for loadable extensions, etc... Later adding the PHP 5 OOP stuff.
> I am under the impression that I need to install the Zend Server
> Community Edition (ZSCE) to get the zend optimizer+. I thought PHP came
> with the zend engine...why do i now have to download this ZSCE just to
> add a component to the engine i already have?
>
> 1) Is there a way to turn on zend optimizer+ component (like in php.ini
> zend extension) without having to install ZSCE?
It is an extension available on the Zend download page.
> 1.2) If i have to install the ZSCE stack, wouldn't this effectively be
> adding another engine on my machine?
Yes, it is a install of PHP with alot of other stuff bundled in. So it
depends upon what you need and if you want to install/configure PHP
yourself with all of these additions, or if you just want to install the
Zend server.
--
Thanks!
-Shawn
http://www.spidean.com
--- End Message ---