Сделано в Раскрутке

Архив эхоконференции RU.PHP

- RU.PHP ------------------------------------------------------------- RU.PHP -
 Msg  : #3121 [660]
 От   : Alex Krasnyansky              2:461/444.5         28 сентября 03, 00:08
 Кому : Paul Yanchenko                                    01 сентября 03, 22:12
 Тема : как сделать постоянно работающий скрипт???
-------------------------------------------------------------------------------
Hello Paul.

27 сен 03 02:29, you wrote to Roman Dubrov:
 RD>> ignore_user_abort(2) тебя спасет..... а вообще почитай ман там
 RD>> где про создание демона пишут.... у меня все работало.
 PY> Кстати, а где именно? В документации по PHP у этой функции нет
 PY> описания параметра. Только то, что он должен быть типа int.


  тупо смотрю штатный manual.html.

=== Begin Windows Clipboard ===
ignore_user_abort
(PHP 3>= 3.0.7, PHP 4 )

ignore_user_abort --  Set whether a client disconnect should abort script
execution
Description
int ignore_user_abort ( [int setting])


This function sets whether a client disconnect should cause a script to be
aborted. It will return the previous setting and can be called without an
argument to not change the current setting and only return
>the current setting. See the Connection Handling section in the Features
>chapter for a complete description of connection handling in PHP.

===  End Windows Clipboard  ===
=== Begin Windows Clipboard ===
Chapter 21. Connection handling
Note: The following applies to 3.0.7 and later.

Internally in PHP a connection status is maintained. There are 3 possible
states:


0 - NORMAL

1 - ABORTED

2 - TIMEOUT

===  End Windows Clipboard  ===

Alex

--- GoldED+ 1.1.5-030609 (WinNT 5.1.2600-Service_Pack_1 i686)
 * Origin: Vivat! (2:461/444.5)


При переходе по баннеру - скидка 25% на первый месяц обслуживания!
Самый простой способ получить ROOT-доступ
При переходе по баннеру - скидка 25% на первый месяц обслуживания!