For example, I have an application that outputs:
Hello World After 10 seconds and this output
10 seconds pass I would like to know that "Hello word" and "10 seconds pass" without waiting until the entire program ends. It is possible to send a customer. The client will receive "Hello World" after the second and the second output of 10 seconds.
Thank you.
Your title is called "Asynchronous External Application Actions", by this you will mean something that The PHP script will execute the program, still continue its process and the PHP page will not load. You can set output to the local file rather than your script (in particular, although PHP manual can not tell you) or pcntl_fork () to split your script into a separate process which will handle the program execution on the side. However, before the browser was sent twice it was disconnected from your server and it is hoping to display your uninvited message, unless you install a trojan on the client who forced your second, new TCP Automatically accept connection >
However, if you want a progress message for your page load, anywhere with "code <"> or while along with the "still loading" Is ... "The other file downloaded on the other side can not be dealt with in PHP with progress bars" Now loading ... "the file will corrupt the echo file in between. At the moment, I am not aware of any feature to do this using any PHP, Javascript, or VB method, except for the browser itself (if document), if the client allows you to install a plugin is. But why, when are the browser already built progress bar?
Comments
Post a Comment