"Andreas R." newsgroups2005@geekmail.de wrote in message news:loom.20070403T011957-223@post.gmane.org...
Robert Leverington <lcarsdata@...> writes:
On 02/04/07, Mohamed Magdy <mohamed.m.k@...> wrote:
Robert Leverington wrote:
[...]
Won't it time-out if used from the web?
Have you tried php shell http://mgeisler.net/php-shell/ It time-out too
The php timeout can be increased via a built in MediaWiki function.
If it takes longer, even the browser can time out. A very simple solution to avoid this would be to just send out e.g. blanks continously. This will however produce php warnings about headers already
sent
(if they are enabled) when trying to send out a wiki page after that.
Well, you could send out a short header text "Working..." and periodically send another period through. At the end you add a "Completed" message and use javascript to redirect (with a NOSCRIPT tag providing a clickable link). Would that avoid a browser time-out? Add a shut-down handler to report "FAILED - Timeout" and you should deal with that issue too (assuming the shutdown handler gets called in this situation...)
- Mark Clements (HappyDog)