php-windows Digest 21 Jan 2004 20:47:46 -0000 Issue 2091

Topics (messages 22633 through 22635):

Re: Limitations with webservers. WAS: Show the Progress of a file being uploaded
        22633 by: Svensson, B.A.T. (HKG)

Not about PHP, HTML question
        22634 by: Disko_kex

Re: Limitations with webservers. WAS: Show the Progress of a file
        22635 by: Manuel Lemos

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 ---
> You are confusing the types of progress. You can't track file upload 
> progress in PHP because PHP scripts only run after the file upload is 
> concluded. This is a limitation of PHP. Therefore that class alone is 
> useless.

For me it seams to be a limitation with the webserver?

Because even in principle php can't do this unless the
web server permits/supports it - and I assume not many
web servers does that? Or?

--- End Message ---
--- Begin Message ---
Hi,

I know this is a PHP mail list, but I have this enoying problem with
simple HTML. In my body a have:

<BODY bgcolor = "#7e8990" marginwidth="0" marginheight="0" topmargin="0"
leftmargin="35">

The problem I experience is that 100% is acully less then "visible"
100%, my design is based on a table (no frames) with height 100%. The
first time I load the page it's a about 10px in the bottom that's empty
and if I update the page it shows correctly (the empty space in the
bottom disappers). Its strange but its seems like 100% is less then 100%
the second time. Is there a way to do this in PHP or some another
langues so 100% is 100% of the visible browser size.

Thanks
//jocke

--- End Message ---
--- Begin Message --- Hello,

On 01/21/2004 12:01 PM, B.A.T. Svensson wrote:
You are confusing the types of progress. You can't track file upload progress in PHP because PHP scripts only run after the file upload is concluded. This is a limitation of PHP. Therefore that class alone is useless.


For me it seams to be a limitation with the webserver?

Because even in principle php can't do this unless the
web server permits/supports it - and I assume not many
web servers does that? Or?

No, this can be done with Apache for instance in Perl but not in PHP because PHP only starts executing the script after the upload has been handled.


The Perl solution takes note of the size of the file that is being transferred and another script can run in parallel to check the progress and output a page that shows how it is going.

http://www.raditha.com/megaupload/

PHP can only do this with a patch. Somebody submitted a patch in the php-internals mailing list but it seems nobody committed it.

--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--- End Message ---

Reply via email to