Warning: file_put_contents(): Only -1 of 49 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
imap_open imap_qprint IMAP PHP Manual imap_ping (PHP 4, 5) — 스트림(stream)이 아직 사용가능한지 체크한다 Description int ( $imap_stream ) Returns TRUE if the stream is still alive...
Forum und email

imap_ping

(PHP 4, PHP 5)

imap_ping — IMAP 스트림(stream)이 아직 사용가능한지 체크한다

Description

int imap_ping ( int $imap_stream )

Returns TRUE if the stream is still alive, FALSE otherwise. 스트림(stream)이 아직 살아있다면 TRUE를 리턴하고, 그외에는 FALSE를 리턴한다

imap_ping()함수는 스트림(stream)이 아직 사용가능한지 보기 위해 스트림에 핑(ping)을 한다. 이 함수는 새로운 메일을 발견한다; 이 함수는 주기적인 "새로운 메일 점검"은 물론 타임아웃(timeout)을 갖는 서버에게 "접속 유지"를 위한 방법으로 선호된다. ( PHP 스크립트는 오랜 시간동안 실행되지 않기 때문에, 나는 이 함수가 거의 유용하지 않을 것이라고 생각한다. )