Re: wget --spider and ignore_user_abort(TRUE)
| From: | Richard Heyes | Date: | Tue, 04 Nov 2008 12:31:00 +0000 |
| Subject: | Re: wget --spider and ignore_user_abort(TRUE) | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282839@lists.php.net to get a copy of this message | ||
> - if I use wget --spider (HEAD request) the script exits just after the
> first output, all the functions below never get executed
>
> This has nothing to do with any system command.
Then have your HTTP request trigger a system command that runs on
regardless. The HTTP request continues on after triggering the system
command, not giving a "tiny rats ass" what it does. You can use the
exec() code I gave you to do this (ie using an ampersand and
redirecting the output streams).
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated November 1st)