domain' and id = '$mbox_user->userid' and pop3host = '$pop3_temp[0]' and pop3user = '$pop3_temp[1]'", $mysql["conn"]); break; case "choice": if(isset($pop3_indi)) { if(!is_array($pop3_indi)) $pop3_indi = array($pop3_indi); for($i=0; $i 0) { for($j=1; $j<=imap_num_msg($pop3); $j++) { $pop3_head = imap_headerinfo($pop3, $j); if(!ereg(preg_quote($pop3_head->message_id), $row["pop3uidl"])) { $pop3_msgs = imap_fetchheader($pop3, $j)."\n".imap_body($pop3, $j); $pop3_code = imap_append($imap["conn"], "{".$imap["host"].":".$imap["port"]."}".$row["pop3ebox"], $pop3_msgs); if(!$pop3_code) imap_append($imap["conn"], "{".$imap["host"].":".$imap["port"]."}"."INBOX", $pop3_msgs); if($row["pop3flag"] == "N") imap_delete($pop3, $j); $row["pop3uidl"] .= $pop3_head->message_id; } } imap_expunge($pop3); mysql_query("update $mysql[tpop] set pop3uidl = '$row[pop3uidl]' where mbox_host = '$mbox_user->domain' and id = '$mbox_user->userid' and pop3host = '$row[pop3host]' and pop3user = '$row[pop3user]'", $mysql["conn"]); } imap_close($pop3); } else { printf(" ", $row["pop3host"]); imap_close($pop3); continue; } } } break; case "receive": $result = mysql_query("select * from $mysql[tpop] where mbox_host = '$mbox_user->domain' and id = '$mbox_user->userid' and active = 'Y'", $mysql["conn"]); while($row = mysql_fetch_array($result)) { $pop3 = imap_open("{".$row["pop3host"]."/pop3".":"."110"."}INBOX", $row["pop3user"], $row["pop3pass"]); if($pop3) { if(imap_num_msg($pop3) > 0) { for($j=1; $j<=imap_num_msg($pop3); $j++) { $pop3_head = imap_headerinfo($pop3, $j); if(!ereg(preg_quote($pop3_head->message_id), $row["pop3uidl"])) { $pop3_msgs = imap_fetchheader($pop3, $j)."\n".imap_body($pop3, $j); $pop3_code = imap_append($imap["conn"], "{".$imap["host"].":".$imap["port"]."}".$row["pop3ebox"], $pop3_msgs); if(!$pop3_code) imap_append($imap["conn"], "{".$imap["host"].":".$imap["port"]."}"."INBOX", $pop3_msgs); if($row["pop3flag"] == "N") imap_delete($pop3, $j); $row["pop3uidl"] .= $pop3_head->message_id; } } imap_expunge($pop3); mysql_query("update $mysql[tpop] set pop3uidl = '$row[pop3uidl]' where mbox_host = '$mbox_user->domain' and id = '$mbox_user->userid' and pop3host = '$row[pop3host]' and pop3user = '$row[pop3user]'", $mysql["conn"]); } imap_close($pop3); } else { printf(" ", $row["pop3host"]); imap_close($pop3); continue; } } break; } } include("include/mbox_head.html"); ?> ȯ°æ¼³Á¤ >> ¿ÜºÎ¸ÞÀϼ³Á¤ ¸ÞÀϼ¹ö ¾ÆÀ̵ð ºñ¹Ð¹øÈ£ ÀúÀåÆíÁöÇÔ ¸ÞÀϺ¹»çº» domain' and id = '$mbox_user->userid'", $mysql["conn"]); ?> µî·ÏµÈ ¸ÞÀϼ¹ö°¡ ¾ø½À´Ï´Ù \n"); if($row["active"] == "Y") printf("%s\n", $row["pop3host"], $row["pop3user"], $row["pop3host"]); else printf("%s\n", $row["pop3host"], $row["pop3user"], $row["pop3host"]); printf("%s\n", $row["pop3user"]); printf("%s\n", ereg_replace(".", "*", $row["pop3pass"])); printf("%s\n", str_replace(".", "/", $row["pop3pbox"])); if($row["pop3flag"] == "Y") printf("ÀúÀåÇÕ´Ï´Ù\n"); else if($row["pop3flag"] == "N") printf("»èÁ¦ÇÕ´Ï´Ù\n"); printf("\n", $row["pop3host"], $row["pop3user"], $row["pop3host"], $row["pop3user"]); printf("\n"); } ?> ¸ÞÀϼ¹ö ¾ÆÀ̵ð ºñ¹Ð¹øÈ£ ÀúÀåÆíÁöÇÔ ¸ÞÀϺ¹»çº» *ÃÖ´ë 3°³ÀÌ»ó ¼¹öµî·ÏÀº ±ÇÀåÇÏÁö ¾Ê½À´Ï´Ù