ÓÃPHPʵÏÖPOP3ÓʼþµÄÊÕÈ¡
ÔÎÄÄÚÈÝûÓб仯£¬ÔÚ¹«Ë¾¿ìÏû»¯ÁËÁ½¸öϵͳÁË£¬ËùÒÔ´òËã×Ô¼ºÐ´Ò»¸ö¹¦ÄÜ»¹¿ÉÒԵĸöÈËϵͳ£¬ÎÒÖªµÀÍøÉϺܶ࣬ÎÒÒ²ÊÕ¼¯Á˺ü¸¸ö£¬µ«ÊÇÏë¿´¿´×Ô¼ºÄܲ»ÄÜ×ö³öÀ´£¬ºÃºÃ¼ÓÓÍ°É£¬ÔڳﱸµÄ¹ý³ÌÖÐÓöµ½ÁËÓʼþÕâÑùµÄÎÊÌ⣬ËùÒÔ»¨Á˵ãʱ¼äÑо¿ÁËÒ»·¬£¬ÍøÉÏÕÒµ½µÄºÃÄÚÈÝ£¬ÄóöÀ´·ÖÏíÒ»ÏÂ
ÒýÓÃÍøÖ·£ºhttp://www.china-askpro.com/msg36/qa98.shtml
±àºÅ£ºQA003598
½¨Á¢ÈÕÆÚ: 2000Äê11ÔÂ28ÈÕ ×îºóÐÞ¸ÄÈÕÆÚ£º2000Äê11ÔÂ28ÈÕ
ËùÊôÀà±ð£º
ÆäËûÓïÑÔ - Internet±à³Ì
ÎÄÕÂ:
±êÌâ:ÓÃPHPʵÏÖPOP3ÓʼþµÄÊÕÈ¡£¨Ò»£©
£¨×÷Õߣº³Â¿¡Çå¡¡2000Äê10ÔÂ18ÈÕ 11:53£©
POPÐÒé¼ò½é
±¾ÎļòҪ˵Ã÷ÁËͨ¹ýPOP3ÐÒéÊÕÈ¡Óʼþ¡¢MIMEÓʼþµÄ½âÂëµÄÔÀí£»Õë¶ÔÊÕÈ¡ºÍMIME½âÂ룬ÌṩÁËÁ½¸öʵÓõÄPHPÀ࣬²¢ÌṩÁËʹÓõÄÑùÀý¡£·ÖΪÓʼþÊÕÈ¡¡¢MIME½âÂëÁ½¸ö²¿·Ö¡£ÕâÀïÎÒÃÇÏÈÏòÄú½éÉÜÓʼþµÄÊÕÈ¡£¬½âÂ벿·Ö»áÔÚÒÔºóµÄÎÄÕÂÖÐΪ¸÷λÏêϸµÄ½éÉÜ£¬ ¾´Çë¹Ø×¢¡£
ÏÖÔÚInternetÉÏ×î´óµÄÓ¦ÓÃÓ¦¸ÃÊÇ·ÇEmailĪÊôÁË£¬ÎÒÃÇÿÌ춼ϰ¹ßÓÚÿÌìͨ¹ýEmail½øÐн»Á÷£¬¸÷´óÍøÕ¾Ò²¼¸ºõ¶¼ÍƳöÁË×Ô¼ºµÄ»ùÓÚWEBµÄÃâ·ÑÓʼþϵͳ¡£ÔÚ±¾ÎÄÀ±ÊÕß½«½éÉÜһЩEmailʵÏÖµÄһЩÔÀí¡£Í¬Ê±ÎÒÃǼÙÉèÄã¶ÔÓÚPHPµÄ±à³ÌÓÐÒ»¶¨µÄ»ù´¡£¬¶ÔÓÚTCP/IPÐÒéÒ²ÓÐÒ»¶¨µÄÁ˽⡣
POP ÐÒé¼ò½é
POPµÄÈ«³ÆÊÇ Post Office Protoco £¬¼´ÓʾÖÐÒ飬ÓÃÓÚµç×ÓÓʼþµÄ½ÓÊÕ£¬ÏÖÔÚ³£ÓõÄÊǵÚÈý°æ £¬¼ò³ÆΪ POP3¡£Í¨¹ýPOPÐÒ飬¿Í»§»úµÇ¼µ½·þÎñÆ÷ÉϺ󣬿ÉÒÔ¶Ô×Ô¼ºµÄÓʼþ½øÐÐɾ³ý£¬»òÊÇÏÂÔص½±¾µØ£¬ÏÂÔغ󣬵ç×ÓÓʼþ¿Í»§Èí¼þ¾Í¿ÉÒÔÔÚ±¾µØ¶ÔÓʼþ½øÐÐÐ޸ġ¢É¾³ýµÈ¡£ÁíÍâÒ»ÖÖÓÃÓÚ½ÓÊÕÐżþµÄÓʼþÊÇ IMAP ÐÒ飬ÏÖÔÚ·¢Õ¹ºÜ¿ì£¬ÔÚ±¾ÎÄ
ÖУ¬ÎÒÃÇÔݲ»ÌÖÂÛ¡£
POP·þÎñÆ÷Ò»°ãʹÓõÄÊÇTCPµÄ110ºÅ¶Ë¿Ú£¬Èç¹ûÄãÓõÄÊÇFoxmailµÄ»°£¬ÔÚÆäÊÕÓʼþµÄʱºò£¬Äã¿ÉÒÔ¿´µ½ÆäÐÅÏ¢Ìáʾ´°¿ÚÓÐÕâôһЩÃüÁ
¡¡¡¡“ÕýÔÚÁ¬½Óµ½¡¡62.123.23.123:110";
¡¡¡¡"USER BOSS_CH";
¡¡¡¡"PASS..............";
ÏÂÃæÈÃÎÒÃÇÀ´¿´Ò»¶Î Óë POP3 ·þÎñÆ÷¶Ô»°µÄʵ¼:
¡¡¡¡telenet pop.china.com 110
¡¡¡¡+OK AIMC POP service (mail2.china.com) is ready.
¡¡¡¡USER boss_ch
¡¡¡¡+OK Please enter password for user .
¡¡¡¡PASS ******
¡¡¡¡+OK boss_ch has 1 messages (750 octets)
¡¡¡¡STAT
¡¡¡¡+O
Ïà¹ØÎĵµ£º
ת×Ô£ºhttp://www.chinaz.com/news/Visit/091Y21R2009.html
Rasmus Lerdorf¿ÉÄÜÊǸñÁêÀ¼×îÖøÃûµÄµçÄÔÅ£ÈË£¬Ëû1995Äê´´½¨ÁËPHP½Å±¾ÓïÑÔ£¬²¢³É¹¦Ó¦Óõ½ËûµÄÍøÕ¾ÖУ¬ÔÚËûµÄÒ»ÊÖÔÔÅàÏ£¬PHPÒѱä³ÉÒ»¸öÇ¿´óµÄ£¬ÍêÈ«³ÉÊìµÄÓïÑÔ£¬Ä¿Ç°ÊÀ½ç¸÷µØÒÑÓÐÊý°ÙÍòPHPÓ¦Óð¸Àý¡£
PHP´´Ê¼ÈËRasmus Lerdorf
Linux FormatÔÓÖ¾¶ÔRasmus Lerd ......
1.
CentOS 5.2 ÏÂÓÃYum°²×°Apache+PHP+MySQL»·¾³
2009-04-03 23:47
Fedora 8ÏÂÓÃYum°²×°Apache+PHP+MySQL»·¾³
fedora8 ÓÃyumÀ´¹ÜÀí°²×°Apache+PHP+MysqlµÄ»ù±¾°²×°¡£
1. °²×°Apahce, PHP, Mysql, ÒÔ¼°phpÁ¬½Ómysql¿â×é¼þ¡£
yum -y install httpd php mysql mysql-server
php-mysql
centos°²×°php²å¼þ¾ÍÊÇy ......
Ò»¡¢Ó÷¨¾ÙÀý£º
1¡¢½«XMLÎļþ½âÊͳɱãÓÚʹÓõÄÊý×飺
<?php
include('xml.php'); //ÒýÓÃPHP XML²Ù×÷Àà
$xml = file_get_contents('data.xml'); //¶ÁÈ¡XMLÎļþ
//$xml = file_get_contents("php://input"); //¶ÁÈ¡POST¹ýÀ´µÄÊäÈëÁ÷
$data=XML_unserialize($xml);
echo '<pre>'; ......
ajax+asp.net+mssqlʵÏÖµÄajaxÎÞË¢ÐÂÁÄÌìÊÒ£¬Ö§³Öhtml web±à¼Æ÷¡£
ΪÁ˼ӿìËٶȣ¬Ê¹ÓÃÁË´æ´¢¹ý³Ì¡£
asp¼°php°æ±¾Çë¿´ÏÂÃæµÄÎÄÕÂ
ajax+asp+mssqlÎÞË¢ÐÂÁÄÌìÊÒ
ajax+php+mssqlÎÞË¢ÐÂÁÄÌìÊÒ
´ËÀý×ÓÒ²¿ÉÒÔ×÷Ϊmssql´æ´¢¹ý³ÌʹÓõÄʾÀý£¬Èçphpµ÷ÓÃmssqlµÄ´æ´¢¹ý³Ì£¬php»ñÈ¡mssqlÊý¾Ý¿âµÄÊä³ö²ÎÊý¡£
ҪʹÓò»Í¬µÄ¶¯Ì¬Ò³Ãæ£ ......
Ç°Ò»ÕóдÁËÒ»¸ö¼òµ¥µÄÀ࣬½«session´æÈëÊý¾Ý¿â£¬µ±session_destroy()ʱ»á½«¿âÖеÄsession¼Ç¼ɾ³ý£¬¶ø¹ýÁËmaxlifetimeʱsession¼Ç¼ȴ»¹ÔÚ£¬µ±Ê±ºÜ²»Àí½â¡£
½ñÌìÓÖ¿´ÁËÏÂphp.ini£¬ÕÒµ½Á˹ØÓÚsessionµÄÅäÖã¬Ã÷°×ÁËÔÒò¡£
; Define the probability that the 'garbage collection' process is started
; on every sessi ......