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
File Upload Status Bar?
Page 1 of 16 Replies - 48963 Views - Last Post: 08 September 2006 - 05:13 AM
Replies To: File Upload Status Bar?
#2
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.
Off the top of my head I don't know how you'd exactly do it.
#4
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
#5
Re: File Upload Status Bar?
Posted 09 April 2006 - 01:14 PM
#6
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
here it is:
http://websvn.bluga....l&rev=0&isdir=1
#10
Re: File Upload Status Bar?
Posted 08 September 2006 - 05:13 AM
getlowdogg369, 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
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote






|