Dear All,

I am executing a shell command through php

$command = "some mathematical calculations":

$output = exec($command);

The $output takes approximately 10 - 40 sec for its execution every time. I wanted to show a progress bar proportionate to the time of execution.

How do I do this?

Any help is of greately appreciated..!

[rajkumar]

    Not really a way to do that -- you may want to get a simple animated gif like this one:

    https://www.play.net/images/now_loading.gif

    And inform the user that the process will take about up to a certain amount of time and to please be patient.

      Unfortunately I am really looking for the progress bar proportionate to the time of execution....!

      [rajkumar]

      Wynder wrote:

      Not really a way to do that -- you may want to get a simple animated gif like this one:

      https://www.play.net/images/now_loading.gif

      And inform the user that the process will take about up to a certain amount of time and to please be patient.

        curioadmin wrote:

        Unfortunately I am really looking for the progress bar proportionate to the time of execution....!

        [rajkumar]

        Not possible.

          Write a Reply...