Re[2]: [PHP] wget --spider and ignore_user_abort(TRUE)
| From: | ANR Daemon | Date: | Mon, 10 Nov 2008 19:55:34 +0000 |
| Subject: | Re[2]: [PHP] 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-283192@lists.php.net to get a copy of this message | ||
Greetings, Martino Dell'Ambrogio.
In reply to Your message dated Tuesday, November 4, 2008, 15:11:45,
> - if I use wget --spider (HEAD request) the script exits just after the
> first output, all the functions below never get executed
It is intended behaviour.
Apache sending headers at the moment first body byte sent, and since it is
HEAD request, Apache shut down the script in case of request completion
(HEADers sent).
--
Sincerely Yours, ANR Daemon <anrdaemon@freemail.ru>