Re: Stopping scripts

From: Date: Mon, 11 Dec 2000 09:05:47 +0000
Subject: Re: Stopping scripts
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29644@lists.php.net to get a copy of this message
It´s possible to stop this with a Variable, For exmple in a action with a Script you can set a variable $action, if tha variable is true then stop the script and don´t let it to entry in the script, exemple: if ($variable!='TRUE') { Do the Script; } If you put this code in the first line then you can control the script. Nos vemos, Isabel Fàbregas ----------------------------------------------- ifabregas@worldonline.es World Online, S.A. Telèfon 93 225 73 50 Ext. 228 ----- Original Message ----- From: "Jean-Arthur Silve" <jeanarthur@eurovox.fr> To: "php general" <php-general@lists.php.net> Sent: Monday, December 11, 2000 9:47 AM Subject: [PHP] Stopping scripts > Hi ! > > I m running some PHP scripts that execute some Postgres requests. > > My problem is that some PG request takes few seconds, and when a user click > the STOP button or RELOAD button of his browser, it re-run the PG request > without stooping the previous one. > > Is there a way for stopping previous scripts (and any executable launch > with the exec function in this script) when the user click STOP or RELOAD ? > > > thank you ! > > ja > > At 08:30 11/12/00 +0000, Phil Driscoll wrote: > >PHP will output the headers for you automatically if you don't do it > >yourself, so don't worry about that. > >What's happening is that somewhere between the server getting the request > >and php processing the file something is going wrong. This is usually due to > >either a misconfiguration of the server script mapping or a permissions > >problem. Are you running NT? If so, it may be that the anonymous web user > >does not have sufficient permissions to either access relevant files or to > >log on locally or something. > > > >Cheers > >-- > >Phil Driscoll > >Dial Solutions > >+44 (0)113 294 5112 > >http://www.dialsolutions.com > >http://www.dtonline.org > > > > > > > > > >-- > >PHP General Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > >For additional commands, e-mail: php-general-help@lists.php.net > >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > ---------------------------------------------------------------- > Le simple fait de passer par la fenetre ne suffit pas a la transformer en porte. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#29644) next »