PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

imap_list> <imap_headers
Last updated: Sun, 25 Nov 2007

view this page in

imap_last_error

(PHP 4, PHP 5)

imap_last_error — 이 함수는 현재 페이지 요구(page request) 동안에 발생한 IMAP 에러(물론 있다면)의 가장 나중것을 돌려준다

Description

string imap_last_error ( void )

이 함수는 현재 페이지에서 발생한 가장 나중의 IMAP 에러 메시지를 텍스트로 돌려준다; 에러 스택(error stack)은 건들지 않는다; 아무 에러도 없는데, imap_last_error()함수를 이어서 부르면 같은 에러를 돌려줄것이다.



add a note add a note User Contributed Notes
imap_last_error
josh at snaphat dot com
29-Nov-2003 10:06
A simple login error test:
<?php
$mbox
= imap_open ("{www.yoursite.com:143}INBOX", "$username", "$password");
if (
$mbox === false ) {
       exit (
"Can't connect: " . imap_last_error() ."\n");
}
else
{
       echo
"Logined:";
      
//do stuff
}
?>

imap_list> <imap_headers
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites