I have a script that is being called from shell_exec and it runs for about 15 seconds.
I need to display the first part of the web screen and give a message like "this will run for 15 seconds, please be patient until it completes." I have tried to put this into the HTML before my PHP code but it does not display in the browser until the shell_exec completes.
How can I get the HTML to display and then run the shell_exec and then display its results?
I need to display the first part of the web screen and give a message like "this will run for 15 seconds, please be patient until it completes." I have tried to put this into the HTML before my PHP code but it does not display in the browser until the shell_exec completes.
How can I get the HTML to display and then run the shell_exec and then display its results?