[PHP-DEV] Upload progress

2006-08-08 Thread steve
We do a "web 2.0" type upload, and show a spinner. When the file is large or the connection slow, people sometimes abort thinking that there was a problem. I'd like to show a progress bar. Is this possible yet? Which version? I can't use perl on these servers (PHP only), so I'm SOL. I've used a pa

[PHP-DEV] Upload progress

2006-10-18 Thread Fred Moses
What ever became of support for a progress bar during file upload? It seems to have been relegated to the doldrums. It would be extremely handy for a commercial client of mine whose customers upload large image files. Fred Moses -- PHP Internals - PHP Runtime Development Mailing List To uns

Re: [PHP-DEV] Upload progress

2006-08-08 Thread Evert Pot
Easiest way to go would then be flash or a java applet.. all the other methods i can think of are either php extensions or perl.. steve wrote: We do a "web 2.0" type upload, and show a spinner. When the file is large or the connection slow, people sometimes abort thinking that there was a probl

Re: [PHP-DEV] Upload progress

2006-08-08 Thread Robert Amos
Or a lovely javascript concoction ;) -bok On 8/9/06, Evert Pot <[EMAIL PROTECTED]> wrote: Easiest way to go would then be flash or a java applet.. all the other methods i can think of are either php extensions or perl.. steve wrote: > We do a "web 2.0" type upload, and show a spinner. When th

Re: [PHP-DEV] Upload progress

2006-08-09 Thread Unknown W. Brackets
How is that? You can't get any feedback from PHP (except, now, by installing/writing an extension) about how far along the upload is - no matter how much JavaScript you use. And the browser won't tell you. Some people have scanned the /tmp directory for possible PHP uploads, but this obvious

Re: [PHP-DEV] Upload progress

2006-08-09 Thread Rasmus Lerdorf
The patch to support this is in PHP 5.2 CVS now. Unknown W. Brackets wrote: How is that? You can't get any feedback from PHP (except, now, by installing/writing an extension) about how far along the upload is - no matter how much JavaScript you use. And the browser won't tell you. Some peop

Re: [PHP-DEV] Upload progress

2006-08-09 Thread Arpad Ray
If you set post_max_size to 0, you can parse the post data yourself from php://input. Combine that with the Content-Length value from apache_request_headers() and you have everything you need for a progress monitor. I don't mean to detract from the hopefully soon-to-come support in the core,

Re: [PHP-DEV] Upload progress

2006-08-09 Thread William A. Rowe, Jr.
Arpad Ray wrote: > If you set post_max_size to 0, you can parse the post data yourself from > php://input. Combine that with the Content-Length value from > apache_request_headers() and you have everything you need for a progress > monitor. Of course - this is entirely irrelevant if the client use

Re: [PHP-DEV] Upload progress

2006-08-09 Thread Unknown W. Brackets
I had thought that was only for extensions; is there something in the userspace too (without writing/installing an extension)? Thanks, -[Unknown] Original Message The patch to support this is in PHP 5.2 CVS now. Unknown W. Brackets wrote: How is that? You can't get any fee

Re: [PHP-DEV] Upload progress

2006-08-09 Thread Unknown W. Brackets
Fair enough. I was under the (now obviously wrong) impression that setting post_max_size to 0 wouldn't let me get to the post data. But that's still setting you dependent on it being Apache. I would need (if I were to add this feature to any of my software) to write this in code that can run

Re: [PHP-DEV] Upload progress

2006-08-21 Thread steve
Thanks Rasmus, that is great to hear. At some point in the past, it required a patch in PHP itself as well a extenstion. Is this still the case? I'd like to try it out with 5.2RC2 but can't find docs. Sorry to bring up an old thead, I was out of town. -s On 8/9/06, Rasmus Lerdorf <[EMAIL PROTEC

Re: [PHP-DEV] Upload progress

2006-08-21 Thread Markus Fischer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, steve wrote: > Thanks Rasmus, that is great to hear. At some point in the past, it > required a patch in PHP itself as well a extenstion. Is this still the > case? I'd like to try it out with 5.2RC2 but can't find docs. Correct me if I'm wrong bu

Re: [PHP-DEV] Upload progress

2006-08-22 Thread steve
On 8/21/06, Markus Fischer <[EMAIL PROTECTED]> wrote: Correct me if I'm wrong but I think that the current implementation are still the groundwork and you need an extension which is not available out-of-the-box in PHP. Perhaps the other extension could be ported to support the new hooks, and ad

Re: [PHP-DEV] Upload progress

2006-10-18 Thread Rasmus Lerdorf
Fred Moses wrote: What ever became of support for a progress bar during file upload? It seems to have been relegated to the doldrums. It would be extremely handy for a commercial client of mine whose customers upload large image files. It's in 5.2. You can see it running here: http://prog

Re: [PHP-DEV] Upload progress

2006-10-18 Thread Christian Stocker
On 18.10.2006 18:30 Uhr, Fred Moses wrote: > What ever became of support for a progress bar during file upload? It > seems to have been relegated to the doldrums. It would be extremely > handy for a commercial client of mine whose customers upload large image > files. http://blog.bitflux.ch/ar

Re: [PHP-DEV] Upload progress

2006-10-18 Thread Michael B Allen
On Wed, 18 Oct 2006 09:31:58 -0700 Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > Fred Moses wrote: > > What ever became of support for a progress bar during file upload? It > > seems to have been relegated to the doldrums. It would be extremely > > handy for a commercial client of mine whose cus

Re: [PHP-DEV] Upload progress

2006-10-18 Thread Rasmus Lerdorf
Michael B Allen wrote: On Wed, 18 Oct 2006 09:31:58 -0700 Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: Fred Moses wrote: What ever became of support for a progress bar during file upload? It seems to have been relegated to the doldrums. It would be extremely handy for a commercial client of mi

Re: [PHP-DEV] Upload progress

2006-10-18 Thread Michael B Allen
On Wed, 18 Oct 2006 12:39:00 -0700 Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > Michael B Allen wrote: > > On Wed, 18 Oct 2006 09:31:58 -0700 > > Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > > > >> Fred Moses wrote: > >>> What ever became of support for a progress bar during file upload? It > >>>

Re: [PHP-DEV] Upload progress

2006-10-18 Thread Rasmus Lerdorf
Michael B Allen wrote: On Wed, 18 Oct 2006 12:39:00 -0700 Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: Michael B Allen wrote: On Wed, 18 Oct 2006 09:31:58 -0700 Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: Fred Moses wrote: What ever became of support for a progress bar during file upload? It se

[PHP-DEV] Upload progress patch

2005-08-12 Thread steve roussey
Has the upload progress patch been ever been voted up or down? -steve-- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Upload progress in sessions

2010-05-04 Thread Jaroslav Hanslik
Hi, upload progress in session is implemented in old trunk. Is there a change to apply the patch also to the new trunk? http://wiki.php.net/rfc/session_upload_progress Jaroslav Hanslik -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Klaus Reimer
Hello, The website "http://pdoru.from.ro/"; states that "hopefully the patch will be integrated into PHP". This patch adds some hooks to main/rfc1867.c so PHP modules can implement stuff like reading the current state of a file upload. Such an external PHP module can write the state to disk or s

[PHP-DEV] Upload Progress Meter Patch

2005-03-22 Thread Robert
Hello, has the Upload progress meter patch finally been applied? (http://pdoru.from.ro/) If so, what are the functions that I need to use it? Thank you, Rob -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Upload progress patch

2005-08-12 Thread Xuefer
in svn trunk On 8/12/05, steve roussey <[EMAIL PROTECTED]> wrote: > Has the upload progress patch been ever been voted up or down? > > -steve-- > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Upload progress patch

2005-08-12 Thread Xuefer
ahh, i found i'm in wrong list, ignore my previous reply -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Upload progress in sessions

2010-05-07 Thread Hannes Magnusson
2010/5/4 Jaroslav Hanslik : > Hi, > > upload progress in session is implemented in old trunk. Is there a change to > apply the patch also to the new trunk? > > http://wiki.php.net/rfc/session_upload_progress > Seems like a good idea to me.. -Hannes -- PHP Internals - PHP Runtime Development Mai

Re: [PHP-DEV] Upload progress in sessions

2010-05-10 Thread Arnaud Le Blanc
Le vendredi 07 mai 2010 à 18:57 +0200, Hannes Magnusson a écrit : > 2010/5/4 Jaroslav Hanslik : > > Hi, > > > > upload progress in session is implemented in old trunk. Is there a change to > > apply the patch also to the new trunk? > > > > http://wiki.php.net/rfc/session_upload_progress > > > > Se

Re: [PHP-DEV] Upload progress in sessions

2010-05-10 Thread Pierre Joye
hi Arnaud, On Mon, May 10, 2010 at 1:42 PM, Arnaud Le Blanc wrote: > Le vendredi 07 mai 2010 à 18:57 +0200, Hannes Magnusson a écrit : >> 2010/5/4 Jaroslav Hanslik : >> > Hi, >> > >> > upload progress in session is implemented in old trunk. Is there a change >> > to >> > apply the patch also to

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Marcus Boerger
Hello Klaus, we've haered of it in the past but it was too late to add for 4.3 series and obviously nobody cared to look for it for 5.0. So no the next version we could add it to would be 5.1. In general the idea is nice but it should also allow for script callbacks: function upload_callback()

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Klaus Reimer
Marcus Boerger wrote: we've haered of it in the past but it was too late to add for 4.3 series and obviously nobody cared to look for it for 5.0. So no the next version we could add it to would be 5.1. In general the idea is nice but it should also allow for script callbacks: This is possible? Up

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Marcus Boerger
Hello Klaus, Friday, November 5, 2004, 11:42:49 AM, you wrote: > Marcus Boerger wrote: >> Thinking about it another time you're right. So what the patch offers is >> all we can do. However having the session id available somehow would make >> the the patch usefull. > I have some ideas for this.

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Derick Rethans
On Fri, 5 Nov 2004, Klaus Reimer wrote: > Marcus Boerger wrote: > > we've haered of it in the past but it was too late to add for 4.3 > > series and obviously nobody cared to look for it for 5.0. So no the > > next version we could add it to would be 5.1. In general the idea > > is nice but it s

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Marcus Boerger
Hello Klaus, Friday, November 5, 2004, 11:03:34 AM, you wrote: > Marcus Boerger wrote: >> we've haered of it in the past but it was too late to add for 4.3 >> series and obviously nobody cared to look for it for 5.0. So no the >> next version we could add it to would be 5.1. In general the idea

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Klaus Reimer
Marcus Boerger wrote: Thinking about it another time you're right. So what the patch offers is all we can do. However having the session id available somehow would make the the patch usefull. I have some ideas for this. It may even be possible to remove the UPLOAD_IDENTIFIER-stuff from the patch

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Curt Zirzow
* Thus wrote Klaus Reimer: > Marcus Boerger wrote: > >Thinking about it another time you're right. So what the patch offers is > >all we can do. However having the session id available somehow would make > >the the patch usefull. > > I have some ideas for this. It may even be possible to remove t

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Klaus Reimer
Curt Zirzow wrote: I have a pecl extenstion started that provides this functionality. It needs some more testing and a patch so php doesn't parse the data. And this extension is working WITHOUT callbacks in main/rfc1867.c? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visi

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Curt Zirzow
* Thus wrote Klaus Reimer: > Curt Zirzow wrote: > >I have a pecl extenstion started that provides this functionality. > >It needs some more testing and a patch so php doesn't parse the > >data. > > And this extension is working WITHOUT callbacks in main/rfc1867.c? correct. The only thing that nee

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Klaus Reimer
Curt Zirzow wrote: And this extension is working WITHOUT callbacks in main/rfc1867.c? correct. The only thing that needs to go into the core of php is a new php.ini option to disable parsing the input. Ok, then you can do with PHP the same as I have done with a CGI program before I found the menti

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Marcus Boerger
Hello Tom, can you please provide a unified diff (diff -u) which everyone here understands? Also it would help to see a diff against HEAD. regards marcus Saturday, November 6, 2004, 1:16:33 AM, you wrote: > Hi, > Friday, November 5, 2004, 8:42:49 PM, you wrote: KR>> Marcus Boerger wrote: >

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Curt Zirzow
* Thus wrote Klaus Reimer: > Curt Zirzow wrote: > >>And this extension is working WITHOUT callbacks in main/rfc1867.c? > >correct. The only thing that needs to go into the core of php is a > >new php.ini option to disable parsing the input. One thing to add is that I surely dont think its php's re

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-08 Thread Joe Orton
On Fri, Nov 05, 2004 at 11:07:53AM +0100, Derick Rethans wrote: > On Fri, 5 Nov 2004, Klaus Reimer wrote: > > > Marcus Boerger wrote: > > > we've haered of it in the past but it was too late to add for 4.3 > > > series and obviously nobody cared to look for it for 5.0. So no the > > > next versi

RE: [PHP-DEV] Upload Progress Meter Patch

2004-11-09 Thread David Enderson
Developers, You may remember me posting regarding this issue in the past. I also wrote a patch to accomplish this task that I've been maintaining for my company and updating with the 4.3.x releases. I'm very glad to see discussion regarding this issue once again. I have gotten many, many reques

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-09 Thread Curt Zirzow
* Thus wrote Joe Orton: > On Fri, Nov 05, 2004 at 11:07:53AM +0100, Derick Rethans wrote: > > On Fri, 5 Nov 2004, Klaus Reimer wrote: > > > > > Marcus Boerger wrote: > > > > > > This is possible? Up to now I thought that the retrieving and processing > > > of POST data is done BEFORE the PHP scrip

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-09 Thread Klaus Reimer
Joe Orton wrote: It is a user interface problem, so it should be done there. It's really the only place it can be done safely Web browsers don't offer any API to allow a client-side progress bar. The only client-side solution I know of is ActiveX and Java and these solutions are not available to

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-10 Thread Curt Zirzow
* Thus wrote Klaus Reimer: > Joe Orton wrote: > >>It is a user interface problem, so it should be done there. > >It's really the only place it can be done safely > > Web browsers don't offer any API to allow a client-side progress bar. > The only client-side solution I know of is ActiveX and Java

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-10 Thread Klaus Reimer
Curt Zirzow wrote: You can provide a progress bar, as php stands right now, without any patch. Ok, then tell me how, please. Is it documented somewhere? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Upload Progress Meter Patch

2004-11-10 Thread [EMAIL PROTECTED]
Actually, it's displaying a progress bar during upload is only one part of the problem. The major problems with HTTP uploads are introduced with large files (which the progress bar is needed for, anyway, otherwise there's not much sense to it) and bad or loosy connections (which most of the home c

Re: [PHP-DEV] Upload Progress Meter Patch

2005-03-22 Thread Derick Rethans
On Tue, 22 Mar 2005, Robert wrote: > has the Upload progress meter patch finally been applied? > (http://pdoru.from.ro/) No, it has not been applied. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] Upload Progress Meter Patch

2005-03-22 Thread Xuefer
use cli as cgi, read stdin and parse header/content yourself On Tue, 22 Mar 2005 18:41:04 +0100 (CET), Derick Rethans <[EMAIL PROTECTED]> wrote: > On Tue, 22 Mar 2005, Robert wrote: > > > has the Upload progress meter patch finally been applied? > > (http://pdoru.from.ro/) > > No, it has not b

Re: [PHP-DEV] Upload Progress Meter Patch

2005-07-22 Thread Doru Petrescu
has anyone figure it out if it was rejected or just forgotten ? and if it was rejected, what was the reason ? the only valid reason I seen so far was that you can do this using something else (perl, or an apache module, or even something more exotic). but, this also apply to php itself ... I can w

Re[2]: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Tom Rogers
Hi, Friday, November 5, 2004, 8:42:49 PM, you wrote: KR> Marcus Boerger wrote: >> Thinking about it another time you're right. So what the patch offers is >> all we can do. However having the session id available somehow would make >> the the patch usefull. KR> I have some ideas for this. It may

Re[2]: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Tom Rogers
Hi, Saturday, November 6, 2004, 10:25:57 AM, you wrote: MB> Hello Tom, MB> can you please provide a unified diff (diff -u) which everyone here MB> understands? Also it would help to see a diff against HEAD. MB> regards MB> marcus This is against the latest cvs 4.3 -- regards, TomIndex: Ze

Re[2]: [PHP-DEV] Upload Progress Meter Patch

2004-11-06 Thread Andi Gutmans
Without commenting on the main part of the patch (I still haven't come to a conlusion either way), I don't see why you had to make any changes to the Zend Engine. Shouldn't those globals be declared outside the engine? (i.e. php5/main?). Andi At 01:55 PM 11/6/2004 +1000, Tom Rogers wrote: Hi, S

[PHP-DEV] Upload Progress Meter Patch in 5.04?

2005-03-23 Thread Robert
Hello, would it be possible to add the patch for 5.04? (I'm not a C coder, I only know PHP) I think people would appreciate such an addition to PHP, Thanks, Rob -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP-DEV] Upload Progress Meter Patch

2004-11-05 Thread Wez Furlong
It needs to be made against HEAD (eg: 5.1 CVS) as it won't be going into any release branch. --Wez. On Sat, 6 Nov 2004 13:55:21 +1000, Tom Rogers <[EMAIL PROTECTED]> wrote: > Hi, > > Saturday, November 6, 2004, 10:25:57 AM, you wrote: > MB> Hello Tom, > > MB> can you please provide a unified

Re: [PHP-DEV] Upload Progress Meter Patch in 5.04?

2005-03-23 Thread Edin Kadribasic
Hi, This was already considered and rejected. No need to start the discussion again. Edin - Original Message - From: "Robert" <[EMAIL PROTECTED]> To: "php-dev" Sent: Wednesday, March 23, 2005 10:26 PM Subject: [PHP-DEV] Upload Progress Meter Patch in 5.04?

Re: [PHP-DEV] Upload Progress Meter Patch in 5.04?

2005-03-23 Thread Robert
Hello Edin, This was already considered and rejected. No need to start the discussion again. All I saw is that the discussion stopped, not that it was rejected. Rob -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Upload Progress Meter Patch in 5.04?

2005-03-23 Thread Derick Rethans
On Wed, 23 Mar 2005, Robert wrote: > >This was already considered and rejected. No need to start the discussion > >again. > > > All I saw is that the discussion stopped, not that it was rejected. Then you should look further - it was rejected. Derick -- Derick Rethans http://derickrethans.nl |

Re: [PHP-DEV] Upload Progress Meter Patch in 5.04?

2005-03-23 Thread Zeev Suraski
Can you point us to the thread? I can't recall seeing it rejected, and I can't find the thread either... Zeev At 15:37 23/03/2005, Derick Rethans wrote: On Wed, 23 Mar 2005, Robert wrote: > >This was already considered and rejected. No need to start the discussion > >again. > > > All I saw is th

[PHP-DEV] upload progress meter - new version v4.1 available for php 4.3.10 and 5.0.3

2005-01-31 Thread Doru Petrescu
Hi, Just wanted to let you all know that a new version is available to work with PHP 4.3.10 and 5.0.3 As you probably already know, the upload progress meter is: A way to track the progress of a file that is uploaded to the web server WHILE the file is uploaded, and with some scripts and HTML

Re: [PHP-DEV] upload progress meter - new version v4.1 available for php 4.3.10 and 5.0.3

2005-01-31 Thread Doru Petrescu
ah ... I forgot to mention: http://pdoru.from.ro is the address to download the files. D. On Mon, 2005-01-31 at 17:46, Doru Petrescu wrote: > Hi, > > Just wanted to let you all know that a new version is available to work > with PHP 4.3.10 and 5.0.3 > > > As you probably already know, the