Using PHP, how can I return a page saying "Working on your query" or something while a long process (db search) is running. Not too hard in PERL (fork).
There are a number of possibilities, but the easiest is like this:<br><br>-- snip --<br><FONT FACE=monospace><br><HTML><br><TITLE>Test</TITLE><br><BODY><br>Please Wait - processing query...<br><?php<br><br>flush()<br><br>//Do the long proccess<br><br>//Display the results<br>?><br></BODY><br></HTML><br></font><br>-- snip --<br><br>The important bit is the <FONT FACE=monospace>flush()</font> function. Hope this helps<br> <p>Richard<br><a href=mailto:richard.allsebrook@easysoft.com>richard.allsebrook@easysoft.com</a><br><a href=
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.