Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÓÃ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


Ïà¹ØÎĵµ£º

¹ØÓÚCentOSƽ̨php¼ÓÈëpdo_mysqlÖ§³Ö

»·¾³£ºÔÚlinux ϵͳϰ²×°ºÃPHP+mysql +apache»·¾³·¢ÏÖPHPûÓÐÖ§³Öpdo_mysqlÀ©Õ¹ÓÚÊǾö¶¨ÖØÐ±àÒëPHP,ÆäÖÐmysql²ÉÓÃrpm·½Ê½°²×°
³¢ÊÔ£º./configure --with-apxs2=/usr/local/apache/bin/apxs  --with-iconv --with-oci8=instantclient,/usr /lib/oracle/10.2.0.1/client/lib   --with-mysql=/usr/local/mys ......

PHPʹÓÃDateTimeÀà×öʱ¼äÈÕÆÚµ½×Ö·û´®×ª»»

PHP¹ØÓÚʱ¼äÈͮ򵀫¦Àí²»ÊǺܹ淶£¬¼òµ¥¾Í¼òµ¥ÁË£¬¾ÍÊDz»ÖªµÀÊäÈëµÄ×Ö·û´®ÊÇ·ñÄܹ»Õýȷת»¯ÎªÐèÒªµÄDateTimeÀàÐÍ¡£
ÃæÏò¶ÔÏóµÄPHPÓ¦¸ÃʹÓÃDateTimeÀàÀ´×östringºÍdateTimeµÄת»»
´Ó×Ö·û´®µ½Ê±¼äÀàÐÍ
DateTime::createfromFormat(‘m/d/Y H:i','03/01/2008 02:20');
 $totalPrice=0.0;
´ÓDateTimeµ½×Ö·û´®
$ ......

PHP×öWebÏîÄ¿µÄÓÅȱµã

PHPµÄÓŵ㣺
¡¡¡¡1. ¿çƽ̨£¬ÐÔÄÜÓÅÔ½£¬¸úLinux/Unix½áºÏ±ð¸úWindows½áºÏÐÔÄÜÇ¿45%£¬²¢ÇҺͺܶàÃâ·ÑµÄƽ̨½áºÏ·Ç³£Ê¡Ç®£¬±ÈÈçLAMP(Linux/Apache/Mysql/PHP)»òÕßFAMP(FreeBSD/Apache/Mysql/PHP)½áºÏ£¬»òÕßÊý¾ÝÓ¦Óù»´ó¿ÉÒÔ¿¼ÂÇ»»PostgreSQL»òÕßOracle£¬Ö§³ÖNÖÖÊý¾Ý¿â¡£(N >= 10)
¡¡¡¡2. Óï·¨¼òµ¥£¬Èç¹ûÓÐѧϰCºÍPerlµÄº ......

linux·þÎñÆ÷°²×°£¨centos5.3 apache php mysql£©

 ×î½ü×°Á˼¸´Îlinux£¬Ñ§Á˺ܶ࣬°Ñ¹ý³ÌдÏÂÀ´ÁË£¬Ï£Íû¸ø¿´µÄÈ˰ïÖú£¬Ò²¶à¸øÐ©½¨Òé¡£
Ò»¡¢Ñ¡Ôñ×îС»¯°²×°£¨Ê²Ã´Ò²²»Ñ¡£¬µ«ÊÇ»¹ÊÇÑ¡ÁËvim£©
¶þ¡¢Ê¹ÓùâÅÌ×÷ΪԴ°²×°£¨ÏêÇé²Î¼û/etc/yum.repos.d/CentOS-Media.repo£©ËùÓÃÌ×¼þ£¨Ê¹ÓÃyumµÄÇ¿´ó¹¦ÄÜ£©
####²¢²»ÊǼòµ¥µÄÓÃyumÃüÁÐèÒªÔÚyumºóÃæ¼ÓһЩ¶«Î÷£¬/etc/yum.repo ......

windowsÏÂPHPµ÷ÓÃÖ´ÐÐ×ÀÃæ³ÌÐòµÄ·½·¨[×ªÔØµÄ]

phpµ÷ÓÃÍⲿ³ÌÐòµÄ·½·¨Ò»°ãÓÃexec,systemµÈ£¬µ«ÕâÑùÖ´ÐеÄʱºò±ØÐëµÈ´ýÍⲿ³ÌÐò½áÊøºó£¬phpÒ³Ãæ²ÅÄܼÌÐøÖ´ÐУ¬·ñÔòÍøÒ³»áÒ»Ö±µÈ´ý¡£
ÈçºÎ¸Ä±äÕâÖÖÇé¿öÄØ£¿
Ê×ÏÈ
 ÒªÖªµÀphpµ÷ÓõijÌÐòĬÈ϶¼ÊÇ·ÅÔÚºǫ́ÔËÐе쬼´Ê¹ÊÇ×ÀÃæ³ÌÐòÔÚ×ÀÃæÒ²¿´²»µ½£¬µ½½ø³ÌÁбí²ÅÄÜ¿´µ½
 
ÕâÊÇÓÉÓÚphpµ÷ÓóÌÐòÊÇͨ¹ýapacheÀ´Íê³ÉµÄ£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ