Re: wget --spider and ignore_user_abort(TRUE)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 04 Nov 2008 10:03:11 +0000, Richard Heyes wrote:

>> I am trying to get a script to run in background no matter what, but I
>> am obviously doing it wrong.
> 
> 1. Have it executed via a shell command. 2. Redirect all output.
> 3. Append the ampersand.

This is not what I need, but thanks.

The code snippet I wrote is just an example of the PHP connection 
handling going wrong (or not as I want to).
The real script doesn't sleep and does much more then executing a system 
command.

The question here is: why a PHP script called via 'wget --spider' through 
Apache/2 gets killed as soon as the HTTP reply code is sent, even if 
ignore_user_abort() is set?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux