update : 2015.11.03
php.shukuma.com검색:
|
ignore_user_abort(PHP 4, PHP 5) ignore_user_abort — Set whether a client disconnect should abort script execution 설명
int ignore_user_abort
([ string
$value
] )Sets whether a client disconnect should cause a script to be aborted.
When running PHP as a command line script, and the script's tty goes
away without the script being terminated then the script will die the
next time it tries to write anything, unless
인수
반환값Returns the previous setting, as an integer. 예제
Example #1 A ignore_user_abort() example
<?php 주의PHP will not detect that the user has aborted the connection until an attempt is made to send information to the client. Simply using an echo statement does not guarantee that information is sent, see flush(). 참고
|