PHP Script progress bar

Discussion in 'PHP' started by WebWorth, Jan 26, 2010.

  1. #1
    Hi Guys

    I need a page to report how far a php script is in its progress...

    The website user will post a var to a php page for processing and once the processing has finished then they will be redirected to the result - but I want to make the page have some feedback for the user

    Eg tell the user what it is currently doing and what step its at

    Now i can get the php page to echo to the browser but how would i cater for this request

    Could some one give me an example of a post form that is submitted using AJAX and in the time between when the page has posted and the script has finished it will let the user know how its getting on

    AJAX and javascript has never been my strong point.
     
    WebWorth, Jan 26, 2010 IP
  2. puppetguy

    puppetguy Peon

    Messages:
    85
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    sorry mate, but you will have to get used to ajax AND php to accomplish it.
     
    puppetguy, Feb 3, 2010 IP
  3. organicCyborg

    organicCyborg Peon

    Messages:
    330
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can probably use jQuery for the AJAX/JS side to avoid headaches. It's a good thing to learn anyway.

    What kind of action do you want to track the progress of? A file upload?
     
    organicCyborg, Feb 3, 2010 IP