Hello,

I am trying to use PHP to execute a C++ object code which has been already compiled. When the run-time of the object code if low, the PHP page loads perfectly. But when the object code takes a long time to execute, the PHP page shows time out error. Now, one way to get around this error is to increase the response time, but the duration can be increased upto only a certain extent and the duration of run of the object code will change depending on the input provided to it. I want to have a webpage that loads completely and then inside that a part where I can wait till the object code execution completes. How can I do that in PHP? I have tried all variations of shell execution in PHP like shell_exec(), exec(), system() etc.