How do I make sure full script gets executed?

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?...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-14-2004
Joe Cybernet
 
Posts: n/a
Default How do I make sure full script gets executed?

people keep interrupting my script by pressing their Stop buttons. how can I
prevent?


Reply With Quote
  #2 (permalink)  
Old 01-14-2004
Alvaro G Vicario
 
Posts: n/a
Default Re: How do I make sure full script gets executed?

*** 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
--
Reply With Quote
  #3 (permalink)  
Old 01-14-2004
Matthias Esken
 
Posts: n/a
Default Re: How do I make sure full script gets executed?

"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
Reply With Quote
  #4 (permalink)  
Old 01-16-2004
Joe Cybernet
 
Posts: n/a
Default Re: How do I make sure full script gets executed?

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



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0