943,733 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 11261
  • PHP RSS
Sep 26th, 2008
0

progress bar during downloading file.

Expand Post »
I hv design a progress bar, the method start_progrss() starts the progress bas and the method end_progrss() stops the progress bar.

I develop two file 1. loginfile.php and
2. downloadfile.php
My loginfile.php contain two text fields user name and password.

/*********loginfile.php ************/


JavaScript Syntax (Toggle Plain Text)
  1. function mysubmit(){
  2. //code
  3. start_progress(); // here i start progress bar
  4. window.location.href = "downloadfile.php?getLoginName=" + getLoginName+"&getLoginPass="+getLoginPass;
  5.  
  6.  
  7. //code
  8. }

Now my problem is how i stop progress bar by calling stop_progress() once the user name and password is verified. Please give any suggestion.
Last edited by peter_budo; Sep 28th, 2008 at 8:17 pm. Reason: Keep It Organized - please use [code] tags
Similar Threads
Reputation Points: 10
Solved Threads: 2
Light Poster
mohammed2raja is offline Offline
30 posts
since Sep 2008
Sep 27th, 2008
0

Re: progress bar during downloading file.

Hi,

You appear to have got the wrong forum? This is a javascript problem I believe. I can, however, help you with a PHP progress bar if you like? I have experience in this, so let me know.

Thanks,
Christopher Lord
Reputation Points: 10
Solved Threads: 1
Newbie Poster
heenix is offline Offline
15 posts
since Sep 2008
Sep 28th, 2008
0

Re: progress bar during downloading file.

Thanks heenix . Yes I want PHP progress bar. Please Help me.
Reputation Points: 10
Solved Threads: 2
Light Poster
mohammed2raja is offline Offline
30 posts
since Sep 2008
Sep 28th, 2008
0

PHP progress bar

Hi, I want to display a progress bar when one file is downloading in php. Can any body help me?
Reputation Points: 10
Solved Threads: 2
Light Poster
mohammed2raja is offline Offline
30 posts
since Sep 2008
Sep 28th, 2008
0

Re: PHP progress bar

Hi, I want to display a progress bar when one file is downloading in php. Can any body help me?
This is a duplicate thread, I was about to reply to your other thread (currently the one *below* this in the forum tables). I've not got forever to explain the workings of PHP file uploading or provide you with all the code, so i've got some resources for you to look at.

http://bluga.net/projects/uploadProgressMeter/ - Open source progress meter
http://www.raditha.com/php/progress.php - Using a mix of PERL and PHP
http://www.ibm.com/developerworks/li...525/index.html - How to do this in PHP 5.2 +

Believe it or not, this was all in the first page of a google query for "php file upload progress".

Christopher Lord.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
heenix is offline Offline
15 posts
since Sep 2008
Sep 28th, 2008
0

Re: PHP progress bar

Ah, I've posted about uploading files. Which may confuse you, I've not asked: what do you mean by downloading files in PHP? Once you download a web file, you have no control over it, the browser does. So i've assumed you were talking about file uploads.

Christopher Lord
Reputation Points: 10
Solved Threads: 1
Newbie Poster
heenix is offline Offline
15 posts
since Sep 2008
May 9th, 2010
0

Multiple file uploader with progres bar indicator ( PHP demo )

Hi,

I've developed a ready to use script (javascript) using PHP(for demo)

You can take a look here http://developers.sirika.com/mfu/

Hope it will help some of you

Florent
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Zebulons is offline Offline
1 posts
since May 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: sending emails
Next Thread in PHP Forum Timeline: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC