6 Replies - 48963 Views - Last Post: 08 September 2006 - 05:13 AM Rate Topic: -----

#1 getlowdogg369  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 23
  • Joined: 26-December 05

File Upload Status Bar?

Post icon  Posted 08 April 2006 - 04:27 PM

Hello everyone. I am totally new at this website and PHP, so I will be needing lots of helo around here. My first question is, how do I make a status bar for my uploader that I have made? I want it to be similar to the one at MegaUpload.com. Thanks!

~ Jason
Is This A Good Question/Topic? 0
  • +

Replies To: File Upload Status Bar?

#2 snoj  Icon User is offline

  • Married Life
  • member icon

Reputation: 64
  • View blog
  • Posts: 3,505
  • Joined: 31-March 03

Re: File Upload Status Bar?

Posted 08 April 2006 - 10:55 PM

Well PHP is server side so it cannot by itself do what you're wanting to do.

Off the top of my head I don't know how you'd exactly do it.
Was This Post Helpful? 0
  • +
  • -

#3 sontek  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 8
  • View blog
  • Posts: 283
  • Joined: 13-September 01

Re: File Upload Status Bar?

Posted 08 April 2006 - 11:32 PM

http://blog.joshuaei...-meter-updates/
Was This Post Helpful? 0
  • +
  • -

#4 getlowdogg369  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 23
  • Joined: 26-December 05

Re: File Upload Status Bar?

Posted 09 April 2006 - 10:20 AM

sontek, on 8 Apr, 2006 - 10:24 PM, said:


Thanks! I am having a little problem though... I am getting the following error:
Fatal error: Cannot instantiate non-existent class: uploadprogressmeter in /home/modsforh/public_html/statusbar/upload.php on line 5

The PHP coding that is in upload.php is:
<?php

include 'UploadProgressMeter.class.php';

$fileWidget = new UploadProgressMeter();

if ($fileWidget->uploadComplete()) {
        // output javascript to the iframe to send a final status to the main window
        // this will catch error conditions
        echo $fileWidget->finalStatus();

        // move the file(s) where they need to go

        exit;
}
?>

The PHP coding that is in UploadProgressMeter.class.php is:
        <script type='text/javascript' src='demoserver.php?client=main,request,httpclient,dispatcher,json,util'></script>
        <script type='text/javascript' src='demoserver.php?stub=UploadProgressMeterStatus'></script>
        < ?php echo $fileWidget->renderIncludeJs(); ?>

What is the problem?

This post has been edited by getlowdogg369: 09 April 2006 - 10:28 AM

Was This Post Helpful? 0
  • +
  • -

#5 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1813
  • View blog
  • Posts: 20,232
  • Joined: 17-March 01

Re: File Upload Status Bar?

Posted 09 April 2006 - 01:14 PM

I just saw this on digg.com:

http://uber-uploader.sourceforge.net/
Was This Post Helpful? 0
  • +
  • -

#6 sontek  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 8
  • View blog
  • Posts: 283
  • Joined: 13-September 01

Re: File Upload Status Bar?

Posted 09 April 2006 - 02:16 PM

Upload progress meter is a custom class that they link to,
here it is:

http://websvn.bluga....l&rev=0&isdir=1
Was This Post Helpful? 0
  • +
  • -

#10 zima  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 1
  • Joined: 08-September 06

Re: File Upload Status Bar?

Posted 08 September 2006 - 05:13 AM

View Postgetlowdogg369, on 8 Apr, 2006 - 04:27 PM, said:

Hello everyone. I am totally new at this website and PHP, so I will be needing lots of helo around here. My first question is, how do I make a status bar for my uploader that I have made? I want it to be similar to the one at MegaUpload.com. Thanks!


Take a look at first non AJAX upload progress bar which does not refresh upload bar page and not using AJAX or other methods. Just plain HTML and some JS. Quite simple thing.

Thanks
Was This Post Helpful? 1

Page 1 of 1