Bug #18117 Updated: Retreive Content-Length of files being posted.

From: Date: Tue, 02 Jul 2002 18:25:54 +0000
Subject: Bug #18117 Updated: Retreive Content-Length of files being posted.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12845@lists.php.net to get a copy of this message
ID: 18117 Updated by: sniper@php.net Reported By: phpfeature@panman.nl.nospam -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Any PHP Version: 4.2.1 New Comment: Not possible. The file is already uploaded by the time the script starts.. Previous Comments: ------------------------------------------------------------------------ [2002-07-02 14:15:34] phpfeature@panman.nl.nospam What i really would like to see, in some next version, is this: some way to retrieve the (temporary) filenames and, more important, the expected Content-Length (if any is given, offcource), of files being uploaded. This would be verry usefull with file uploads: One could create a (self reloading) popup with the progress of the files beeing uploaded. (the content length could be compared to the file in the temp directory). I think easiest way to pass this variables would be a session, or a temp file that could be parsed in the temp dir, that is beinig deleted with the other uploaded files, if the target script finishes. For now I can show the size of all the files being uploaded, but since i don't know the expected size, there is no way of telling the progress to the user. I 'masked' my email adress since i got a lot of spam on the email adress i used on this site before. Thanx in advance! PanMan. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18117&edit=1

« previous php.bugs (#12845) next »