Stopping scripts
| From: | Jean-Arthur Silve | Date: | Mon, 11 Dec 2000 08:47:49 +0000 |
| Subject: | Stopping scripts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29643@lists.php.net to get a copy of this message | ||
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.