This is a discussion on How do I make sure full script gets executed? within the PHP Language forums, part of the PHP Programming Forums category; people keep interrupting my script by pressing their Stop buttons. how can I prevent?...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
*** Joe Cybernet wrote/escribió (Wed, 14 Jan 2004 02:16:04 -0000):
> people keep interrupting my script by pressing their Stop buttons. how can I > prevent? I guess you can't do that with web apps. Actually, even regular apps (Eudora, Word, Photoshop...) can always be stopped via task manager. Furthermore, there can always be network failures and many other problems. So you should rewrite your app to deal with that case. Anyway, it if is important I suppose you can use your web app to launch a non-interactive script in the background (just like when you type "nohup wget www.site.com &" in a Unix command prompt). -- -- -- Álvaro G. Vicario - Burgos, Spain -- |
|
|||
|
thanks. that seems to work.
"Matthias Esken" <muelleimer2003nospam@usenetverwaltung.org> wrote in message news:bu346h.3bk.1@usenet.esken.de... > "Joe Cybernet" <no@no.ie> schrieb: > > > people keep interrupting my script by pressing their Stop buttons. how can I > > prevent? > > Have a look at the function ignore_user_abort(). > > Regards, > Matthias |