|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi all,
I'm searching some file upload progress bar code. But no good result was found. ![]() So is there anybody please be kind enough to show some code here? Great thanks. -- Regard, Shelley (http://phparch.cn) |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Shelley,
What code have you tried and what were your results? What about searches on google or the archives here? Wolf Shelley wrote: > Hi all, > > I'm searching some file upload progress bar code. > But no good result was found. ![]() > So is there anybody please be kind enough to show some code here? > > Great thanks. > > -- > Regard, > Shelley (http://phparch.cn) > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
As a qualified PHP Engineer , I'm certain you have written some code
that is failing and you need a little massaging, by all means post it and we'll gladly take a look and see if we can facilitate its use. Wolf Shelley wrote: > Hi all, > > I'm searching some file upload progress bar code. > But no good result was found. ![]() > So is there anybody please be kind enough to show some code here? > > Great thanks. > > -- > Regard, > Shelley (http://phparch.cn) > |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Quoting Shelley <myphplist@gmail.com>:
> Hi all, > > I'm searching some file upload progress bar code. > But no good result was found. ![]() > So is there anybody please be kind enough to show some code here? > > Great thanks. > > -- > Regard, > Shelley (http://phparch.cn) > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php You can try searching the archives. Rasmus had an example a long time ago. Although it requires APC to be installed. Maybe it's interesting. Found it: Example : http://progphp.com/upload.php Source : http://progphp.com/upload.phps |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Quoting Mr Webber <captain_webber@hotmail.com>:
> I haven't' tried this yet ... so I would appreciate your feedback. > > -----Original Message----- > From: Thijs Lensselink [mailto:dev@lenss.nl] > Sent: Wednesday, March 12, 2008 4:28 AM > To: php-general@lists.php.net > Subject: Re: [php] PHP & Ajax progress bar > > Quoting Shelley <myphplist@gmail.com>: > >> Hi all, >> >> I'm searching some file upload progress bar code. >> But no good result was found. ![]() >> So is there anybody please be kind enough to show some code here? >> >> Great thanks. >> >> -- >> Regard, >> Shelley (http://phparch.cn) >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php > > You can try searching the archives. Rasmus had an example a long time ago. > Although it requires APC to be installed. Maybe it's interesting. > > Found it: > Example : http://progphp.com/upload.php > Source : http://progphp.com/upload.phps > > -- Pls don't top post. If you want to know if it works. Go ahead! Copy paste the code and give it a try. |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Thijs Lensselink 写é“:
> Quoting Mr Webber <captain_webber@hotmail.com>: > >> I haven't' tried this yet ... so I would appreciate your feedback. >> >> -----Original Message----- >> From: Thijs Lensselink [mailto:dev@lenss.nl] >> Sent: Wednesday, March 12, 2008 4:28 AM >> To: php-general@lists.php.net >> Subject: Re: [php] PHP & Ajax progress bar >> >> Quoting Shelley <myphplist@gmail.com>: >> >>> Hi all, >>> >>> I'm searching some file upload progress bar code. >>> But no good result was found. ![]() >>> So is there anybody please be kind enough to show some code here? >>> >>> Great thanks. >>> >>> -- >>> Regard, >>> Shelley (http://phparch.cn) >>> >>> -- >>> PHP General Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >> >> You can try searching the archives. Rasmus had an example a long time >> ago. >> Although it requires APC to be installed. Maybe it's interesting. >> >> Found it: >> Example : http://progphp.com/upload.php >> Source : http://progphp.com/upload.phps >> >> -- > > Pls don't top post. > > If you want to know if it works. Go ahead! > Copy paste the code and give it a try. > > I don't think it works. I tried. The screen always said 0%, 0 of 0 byte until the file is uploaded. Is that what you mean progress bar? -- Regards, Shelley (http://phparch.cn) |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Quoting Shelley <myphplist@gmail.com>:
> Thijs Lensselink 写é“: >> Quoting Mr Webber <captain_webber@hotmail.com>: >> >>> I haven't' tried this yet ... so I would appreciate your feedback. >>> >>> -----Original Message----- >>> From: Thijs Lensselink [mailto:dev@lenss.nl] >>> Sent: Wednesday, March 12, 2008 4:28 AM >>> To: php-general@lists.php.net >>> Subject: Re: [php] PHP & Ajax progress bar >>> >>> Quoting Shelley <myphplist@gmail.com>: >>> >>>> Hi all, >>>> >>>> I'm searching some file upload progress bar code. >>>> But no good result was found. ![]() >>>> So is there anybody please be kind enough to show some code here? >>>> >>>> Great thanks. >>>> >>>> -- >>>> Regard, >>>> Shelley (http://phparch.cn) >>>> >>>> -- >>>> PHP General Mailing List (http://www.php.net/) >>>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> You can try searching the archives. Rasmus had an example a long time ago. >>> Although it requires APC to be installed. Maybe it's interesting. >>> >>> Found it: >>> Example : http://progphp.com/upload.php >>> Source : http://progphp.com/upload.phps >>> >>> -- >> >> Pls don't top post. >> >> If you want to know if it works. Go ahead! >> Copy paste the code and give it a try. >> >> > I don't think it works. > > I tried. > The screen always said 0%, 0 of 0 byte until the file is uploaded. > Is that what you mean progress bar? > > -- > Regards, > Shelley (http://phparch.cn) > Do you have all the yui files? and APC enabled? I tried it some time ago and it worked. But i did have to set apc.rfc1867 = on in php.ini to make it work. Forgot to mention that one. |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
On Mar 12, 2008, at 5:02 AM, Thijs Lensselink wrote:
>> Thijs Lensselink 写é“: How do you pronounce your name? |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
Quoting Philip Thompson <philthathril@gmail.com>:
> On Mar 12, 2008, at 5:02 AM, Thijs Lensselink wrote: > >>> Thijs Lensselink 写é“: > > How do you pronounce your name? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php Well.. how to explain this one... thijs : T + [ice] That's the best i can do ![]() |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
On Mar 12, 2008, at 9:52 AM, Thijs Lensselink wrote:
> Quoting Philip Thompson <philthathril@gmail.com>: > >> On Mar 12, 2008, at 5:02 AM, Thijs Lensselink wrote: >> >>>> Thijs Lensselink 写é“: >> >> How do you pronounce your name? >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php > > Well.. how to explain this one... > > thijs : T + [ice] > > That's the best i can do ![]() Which is different than the famous rapper/actor... hijs-t : [ice] + T Hehehe =D |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
On Wed, Mar 12, 2008 at 11:03 AM, Philip Thompson
<philthathril@gmail.com> wrote: > On Mar 12, 2008, at 9:52 AM, Thijs Lensselink wrote: > > Quoting Philip Thompson <philthathril@gmail.com>: > >> > >> How do you pronounce your name? > > > > Well.. how to explain this one... > > > > thijs : T + [ice] > > > > Which is different than the famous rapper/actor... > > hijs-t : [ice] + T > HA! -- </Dan> Daniel P. Brown Senior Unix Geek <? while(1) { $me = $mind--; sleep(86400); } ?> |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
Quoting Daniel Brown <parasane@gmail.com>:
> On Wed, Mar 12, 2008 at 11:03 AM, Philip Thompson > <philthathril@gmail.com> wrote: >> On Mar 12, 2008, at 9:52 AM, Thijs Lensselink wrote: >> > Quoting Philip Thompson <philthathril@gmail.com>: >> >> >> >> How do you pronounce your name? >> > >> > Well.. how to explain this one... >> > >> > thijs : T + [ice] >> > >> >> Which is different than the famous rapper/actor... >> >> hijs-t : [ice] + T >> > > HA! > > -- > </Dan> > > Daniel P. Brown > Senior Unix Geek > <? while(1) { $me = $mind--; sleep(86400); } ?> > Same reaction here! |
|
|
|
#13 |
|
Messages: n/a
Hébergeur: |
Quoting Shelley <myphplist@gmail.com>:
> I don't think it works. > > I tried. > The screen always said 0%, 0 of 0 byte until the file is uploaded. > Is that what you mean progress bar? > > -- > Regards, > Shelley (http://phparch.cn) It work fine. And that's what we meant by progress bar. -- Roger --------------------------------------------------- Sign Up for free Email at http://ureg.home.net.my/ --------------------------------------------------- |
|
|
|
#14 |
|
Messages: n/a
Hébergeur: |
Hello,
on 03/12/2008 12:24 AM Shelley said the following: > Hi all, > > I'm searching some file upload progress bar code. > But no good result was found. ![]() > So is there anybody please be kind enough to show some code here? You may want to take a look at this forms generation and validation class that comes with a plug-in to do precisely that. Check the test_upload_progress.php example script. http://www.phpclasses.org/formsgeneration Here is a live example page so you can see it in action: http://www.meta-language.net/forms-e...pload_progress You can also watch this tutorial video to learn more about this plug-in: http://www.phpclasses.org/browse/vid...oad-meter.html You may also want to read this blog article about the subject: http://www.phpclasses.org/blog/post/...4-at-last.html -- 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/ |
|
|
|
#15 |
|
Messages: n/a
Hébergeur: |
At 11:24 AM +0800 3/12/08, Shelley wrote:
>Hi all, > >I'm searching some file upload progress bar code. >But no good result was found. ![]() >So is there anybody please be kind enough to show some code here? > >Great thanks. > >-- >Regard, >Shelley (http://phparch.cn) Shelley: Here's my solution: http://webbytedd.com/bb/wait/ However, if you want php to communicate with ajax, then that can be done like so: http://webbytedd.com/b/timed-php/ But, you will need to figure out how much of a file has been uploaded at each interval and I don't know how to do that. However, if it's a batch of files, then that certainly could be done between each file. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com |
|
![]() |
| Outils de la discussion | |
|
|