RSS Forums RSS

PHP progress bar

Reply
Posts: 25
Reputation: mohammed2raja is an unknown quantity at this point 
Solved Threads: 1
mohammed2raja mohammed2raja is offline Offline
Light Poster

progress bar during downloading file.

  #1  
Sep 26th, 2008
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 ************/


  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 7:17 pm. Reason: Keep It Organized - please use [code] tags
AddThis Social Bookmark Button
Reply With Quote  
Posts: 15
Reputation: heenix is an unknown quantity at this point 
Solved Threads: 1
heenix heenix is offline Offline
Newbie Poster

Re: progress bar during downloading file.

  #2  
Sep 27th, 2008
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
Reply With Quote  
Posts: 25
Reputation: mohammed2raja is an unknown quantity at this point 
Solved Threads: 1
mohammed2raja mohammed2raja is offline Offline
Light Poster

Re: progress bar during downloading file.

  #3  
Sep 28th, 2008
Thanks heenix . Yes I want PHP progress bar. Please Help me.
Reply With Quote  
Posts: 25
Reputation: mohammed2raja is an unknown quantity at this point 
Solved Threads: 1
mohammed2raja mohammed2raja is offline Offline
Light Poster

PHP progress bar

  #4  
Sep 28th, 2008
Hi, I want to display a progress bar when one file is downloading in php. Can any body help me?
Reply With Quote  
Posts: 15
Reputation: heenix is an unknown quantity at this point 
Solved Threads: 1
heenix heenix is offline Offline
Newbie Poster

Re: PHP progress bar

  #5  
Sep 28th, 2008
Originally Posted by mohammed2raja View Post
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.
Reply With Quote  
Posts: 15
Reputation: heenix is an unknown quantity at this point 
Solved Threads: 1
heenix heenix is offline Offline
Newbie Poster

Re: PHP progress bar

  #6  
Sep 28th, 2008
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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the PHP Forum
Views: 2453 | Replies: 5 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:19 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC